1
我正在嘗試在Ubuntu 16.04上設置與我的Arduino IDE一起處理。安裝後,我進入並嘗試運行一個示例程序,然後進行處理,將其轉移給我。我該怎麼做? 僅供參考,我已安裝JDK-8。處理將不會在Ubuntu 16.04上運行異常
Exception in thread "Thread-29" java.lang.RuntimeException: Could not open /home/user/Desktop/Processing/processing_3.3/java/bin/java -agentlib:jdwp=transport=dt_socket,address=8633,server=y,suspend=y,quiet=y -Djna.nosys=true -Djava.ext.dirs=/home/user/Desktop/Processing/processing_3.3/java/lib/ext -Djava.library.path=:/home/user/Desktop/Processing/processing_3.3/core/library:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib -cp /tmp/Sequential810704108564722622temp:/home/user/Desktop/Processing/processing_3.3/core/library/gluegen-rt-natives-linux-i586.jar:/home/user/Desktop/Processing/processing_3.3/core/library/jogl-all-natives-windows-i586.jar:/home/user/Desktop/Processing/processing_3.3/core/library/gluegen-rt-natives-linux-armv6hf.jar:/home/user/Desktop/Processing/processing_3.3/core/library/jogl-all-natives-macosx-universal.jar:/home/user/Desktop/Processing/processing_3.3/core/library/jogl-all-natives-linux-i586.jar:/home/user/Desktop/Processing/processing_3.3/core/library/jogl-all.jar:/home/user/Desktop/Processing/processing_3.3/core/library/jogl-all-natives-linux-armv6hf.jar:/home/user/Desktop/Processing/processing_3.3/core/library/core.jar:/home/user/Desktop/Processing/processing_3.3/core/library/jogl-all-natives-windows-amd64.jar:/home/userDesktop/Processing/processing_3.3/core/library/gluegen-rt-natives-macosx-universal.jar:/home/user/Desktop/Processing/processing_3.3/core/library/gluegen-rt.jar:/home/user/Desktop/Processing/processing_3.3/core/library/gluegen-rt-natives-windows-i586.jar:/home/user/Desktop/Processing/processing_3.3/core/library/jogl-all-natives-linux-amd64.jar:/home/user/Desktop/Processing/processing_3.3/core/library/gluegen-rt-natives-linux-amd64.jar:/home/user/Desktop/Processing/processing_3.3/core/library/gluegen-rt-natives-windows-amd64.jar:/home/user/Desktop/Processing/processing_3.3/java/lib/rt.jar:/home/user/Desktop/Processing/processing_3.3/lib/ant-launcher.jar:/home/user/Desktop/Processing/processing_3.3/lib/ant.jar:/home/user/Desktop/Processing/processing_3.3/lib/jna-platform.jar:/home/user/Desktop/Processing/processing_3.3/lib/jna.jar:/home/user/Desktop/Processing/processing_3.3/lib/pde.jar:/home/user/Desktop/Processing/processing_3.3/core/library/core.jar:/home/user/Desktop/Processing/processing_3.3/core/library/gluegen-rt-natives-linux-amd64.jar:/home/user/Desktop/Processing/processing_3.3/core/library/gluegen-rt-natives-linux-armv6hf.jar:/home/user/Desktop/Processing/processing_3.3/core/library/gluegen-rt-natives-linux-i586.jar:/home/user/Desktop/Processing/processing_3.3/core/library/gluegen-rt-natives-macosx-universal.jar:/home/user/Desktop/Processing/processing_3.3/core/library/gluegen-rt-natives-windows-amd64.jar:/home/user/Desktop/Processing/processing_3.3/core/library/gluegen-rt-natives-windows-i586.jar:/home/user/Desktop/Processing/processing_3.3/core/library/gluegen-rt.jar:/home/user/Desktop/Processing/processing_3.3/core/library/jogl-all-natives-linux-amd64.jar:/home/user/Desktop/Processing/processing_3.3/core/library/jogl-all-natives-linux-armv6hf.jar:/home/user/Desktop/Processing/processing_3.3/core/library/jogl-all-natives-linux-i586.jar:/home/user/Desktop/Processing/processing_3.3/core/library/jogl-all-natives-macosx-universal.jar:/home/user/Desktop/Processing/processing_3.3/core/library/jogl-all-natives-windows-amd64.jar:/home/user/Desktop/Processing/processing_3.3/core/library/jogl-all-natives-windows-i586.jar:/home/user/Desktop/Processing/processing_3.3/core/library/jogl-all.jar:/home/user/Desktop/Processing/processing_3.3/modes/java/mode/JavaMode.jar:/home/user/Desktop/Processing/processing_3.3/modes/java/mode/antlr.jar:/home/user/Desktop/Processing/processing_3.3/modes/java/mode/classpath-explorer-
1.0.jar:/home/user/Desktop/Processing/processing_3.3/modes/java/mode/com.ibm.icu.jar:/home/user/Desktop/Processing/processing_3.3/modes/java/mode/jdi.jar:/home/user/Desktop/Processing/processing_3.3/modes/java/mode/jdimodel.jar:/home/user/Desktop/Processing/processing_3.3/modes/java/mode/jdtCompilerAdapter.jar:/home/user/Desktop/Processing/processing_3.3/modes/java/mode/jsoup-1.7.1.jar:/home/user/Desktop/Processing/processing_3.3/modes/java/mode/org.eclipse.core.contenttype.jar:/home/user/Desktop/Processing/processing_3.3/modes/java/mode/org.eclipse.core.jobs.jar:/home/user/Desktop/Processing/processing_3.3/modes/java/mode/org.eclipse.core.resources.jar:/home/user/Desktop/Processing/processing_3.3/modes/java/mode/org.eclipse.core.runtime.jar:/home/user/Desktop/Processing/processing_3.3/modes/java/mode/org.eclipse.equinox.common.jar:/home/user/Desktop/Processing/processing_3.3/modes/java/mode/org.eclipse.equinox.preferences.jar:/home/user/Desktop/Processing/processing_3.3/modes/java/mode/org.eclipse.jdt.core.jar:/home/user/Desktop/Processing/processing_3.3/modes/java/mode/org.eclipse.osgi.jar:/home/user/Desktop/Processing/processing_3.3/modes/java/mode/org.eclipse.text.jar:/home/user/Desktop/Processing/processing_3.3/modes/java/mode/org.netbeans.swing.outline.jar -ea processing.core.PApplet --editor-location=65,24 --external --display=1 --sketch-path=/home/user/Desktop/Processing/processing_3.3/modes/java/examples/Topics/Animation/Sequential Sequential
at processing.core.PApplet.exec(PApplet.java:3510)
at processing.mode.java.runner.Runner$1.run(Runner.java:485)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Cannot run program "/home/user/Desktop/Processing/processing_3.3/java/bin/java": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at java.lang.Runtime.exec(Runtime.java:485)
at processing.core.PApplet.exec(PApplet.java:3508)
... 2 more
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 5 more
如果回答您的問題,您可以將自己的答案標記爲正確。 –
它讓我等待11個小時。我會檢查然後做到這一點! – vc669