dsiddharth2 / php-zxing

PHP wrapper for Zxing Java library
MIT License
126 stars 25 forks source link

Images within a folder do not work #13

Open dsiddharth2 opened 5 years ago

dsiddharth2 commented 5 years ago

D:\xampp\htdocs\php-zxing\src>"C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe" -cp D:\xampp\htdocs\php-zxing\src\bin\javase-3.3.3.jar;D:\xampp\htdocs\php-zxing\src\bin\core-3.3.3.jar;D:\xampp\htdocs\php-zxing\src\bin\jcommander-1.72.jar com.google.zxing.client.j2se.CommandLineRunner --recursive D:\xampp\htdocs\php-zxing\src\images

Code like above gives,

Exception in thread "main" java.lang.IllegalArgumentException: URI is not hierarchical at sun.nio.fs.WindowsUriSupport.fromUri(Unknown Source) at sun.nio.fs.WindowsFileSystemProvider.getPath(Unknown Source) at java.nio.file.Paths.get(Unknown Source) at com.google.zxing.client.j2se.CommandLineRunner.expand(CommandLineRunner.java:112) at com.google.zxing.client.j2se.CommandLineRunner.main(CommandLineRunner.java:76)