Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/364.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在raspberry pi上运行java程序的分段故障_Java_Raspberry Pi_Segmentation Fault_Webcam_Barcode Scanner - Fatal编程技术网

在raspberry pi上运行java程序的分段故障

在raspberry pi上运行java程序的分段故障,java,raspberry-pi,segmentation-fault,webcam,barcode-scanner,Java,Raspberry Pi,Segmentation Fault,Webcam,Barcode Scanner,我试着用我的树莓皮跑步: 如果我正在执行该程序,则会出现以下错误: 我通过在我的windows PC上通过eclipse编译它并创建可执行的jar来执行它 pi@raspberrypi:~ $ java -jar "/home/pi/Desktop/JarFiles/WebcamQRCodeExample.jar"[main] INFO com.github.sarxos.webcam.Webcam - WebcamDefaultDriver capture driver will be use

我试着用我的树莓皮跑步:

如果我正在执行该程序,则会出现以下错误: 我通过在我的windows PC上通过eclipse编译它并创建可执行的jar来执行它

pi@raspberrypi:~ $ java -jar "/home/pi/Desktop/JarFiles/WebcamQRCodeExample.jar"[main] INFO com.github.sarxos.webcam.Webcam - WebcamDefaultDriver capture driver will be used
Speicherzugriffsfehler
“Speicherzugriffehler”是英语中的一个分词错误

其他所有java程序都可以在我的pi上正常工作。
如何更改代码以解决此错误?

更新:我现在运行代码。我现在的新问题是,该程序检测到一个二维码,但如果我在它前面拿着一个EAN 13条码,它不会做出反应。它可以在Windows上正常工作,并且可以在Windows上检测到这两种情况。顺便说一句,谢谢你编辑:D