qrcode-generator
- copy jar to here
- qrcode-generator\src\main\java\com\github\qrcode>javac -cp ".;qrcode-1.0.jar" *.java 3.You can't run at this dir SINCE code is in package: package com.github.qrcode
- go to DIR where com.github in, copy jar to here 5.java -cp ".;qrcode-1.0.jar" com.github.qrcode.QrcodeGenerator if Linux: /java$ java -cp ".:qrcode-1.0.jar" com.github.qrcode.QrcodeGenerator
你如果加压那个jar文件,你到它的com的父目录里面去运行,不需要写-cp因为自带了org和google的库
The java/swing application to generate QR codes