File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ This sample demonstrates how to use the [Dynamsoft Barcode Reader SDK](https://w
1313
1414 ```bash
1515 mvn clean package
16- java - cp target/ test- 1.0 - SNAPSHOT - jar- with- dependencies. jar com.dynamsoft . App .. / .. / .. / images/ AllSupportedBarcodeTypes . png
16+ java - jar target/ test- 1.0 - SNAPSHOT - jar- with- dependencies. jar .. / .. / .. / images/ AllSupportedBarcodeTypes . png
1717 ```
1818
1919 ! [Java barcode and QR code reader](https: // www.dynamsoft.com/codepool/img/2022/03/arm64-jetson-nano-java-barcode.png)
Original file line number Diff line number Diff line change 3737 <descriptorRefs >
3838 <descriptorRef >jar-with-dependencies</descriptorRef >
3939 </descriptorRefs >
40+ <archive >
41+ <manifest >
42+ <mainClass >com.dynamsoft.App</mainClass >
43+ </manifest >
44+ </archive >
4045 </configuration >
4146 <executions >
4247 <execution >
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ BarcodeReader.initLicense("LICENSE-KEY");
1414
1515 ``` bash
1616 mvn clean package
17- java -cp target/test-1.0-SNAPSHOT-jar-with-dependencies.jar com.java.barcode.App ../../../../images/dotcode.png
17+ java -jar target/test-1.0-SNAPSHOT-jar-with-dependencies.jar ../../../../images/dotcode.png
1818 ```
1919
2020- OpenCV
@@ -30,7 +30,7 @@ BarcodeReader.initLicense("LICENSE-KEY");
3030
3131 ` ` ` bash
3232 mvn clean package
33- java -cp target/test-1.0-SNAPSHOT-jar-with-dependencies.jar com.java.barcode.App
33+ java -jar target/test-1.0-SNAPSHOT-jar-with-dependencies.jar
3434 ` ` `
3535
3636 ! [Java DotCode Reader](http://www.dynamsoft.com/codepool/img/2020/04/java-dotcode-reader.png)
Original file line number Diff line number Diff line change 3737 <descriptorRefs >
3838 <descriptorRef >jar-with-dependencies</descriptorRef >
3939 </descriptorRefs >
40+ <archive >
41+ <manifest >
42+ <mainClass >com.java.barcode.App</mainClass >
43+ </manifest >
44+ </archive >
4045 </configuration >
4146 <executions >
4247 <execution >
Original file line number Diff line number Diff line change 4242 <descriptorRefs >
4343 <descriptorRef >jar-with-dependencies</descriptorRef >
4444 </descriptorRefs >
45+ <archive >
46+ <manifest >
47+ <mainClass >com.java.barcode.App</mainClass >
48+ </manifest >
49+ </archive >
4550 </configuration >
4651 <executions >
4752 <execution >
You can’t perform that action at this time.
0 commit comments