dlenski / python-zxing

python wrapper for the ZXing barcode library
GNU Lesser General Public License v3.0
121 stars 36 forks source link

Java binary specified does not exist #7

Closed Michelangelo-Y closed 3 years ago

Michelangelo-Y commented 3 years ago

I use "pip install zxing" to install zxing 0.11,and in my venv dir have all the file demand,“core.jar”“javase.jar”“jcommander.jar”,but when run zxing.BarCodeReader().decode(xxx.png) raise error :

"raise BarCodeReaderException("Java binary specified does not exist", self.java, e) zxing.BarCodeReaderException: ('Java binary specified does not exist', 'java', FileNotFoundError(2, '系统找不到指定的文件。', None, 2, None))"
dlenski commented 3 years ago

Is the Java binary itself installed, as described in the README?

Michelangelo-Y commented 3 years ago

Is the Java binary itself installed, as described in the README?

thanks,the issue have solved by install jdk,maybe there some errors occurred during the jdk installation process yesterday。