We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi finally got the processing sketchbook to open, but getting the following error. Any ideas on how to fix this? Thanks
Error:
java.io.IOException: Cannot run program "/home/pi/processing-2.1.1/java/bin/java": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041)
at java.lang.Runtime.exec(Runtime.java:617)
at java.lang.Runtime.exec(Runtime.java:485)
at processing.core.PApplet.exec(PApplet.java:3920)
at processing.mode.java.runner.Runner$1.run(Runner.java:437)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:135)
at java.lang.ProcessImpl.start(ProcessImpl.java:130)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022)
... 5 more
Exception in thread "Thread-8" java.lang.RuntimeException: Could not open /home/pi/processing-2.1.1/java/bin/java -agentlib:jdwp=transport=dt_socket,address=8726,server=y,suspend=y -Djava.library.path=:/usr/java/packages/lib/arm:/lib:/usr/lib -cp /tmp/sketch_140222a9150731573578225430temp:/home/pi/processing-2.1.1/core/library/jogl-all-natives-windows-amd64.jar:/home/pi/processing-2.1.1/core/library/gluegen-rt.jar:/home/pi/processing-2.1.1/core/library/gluegen-rt-natives-linux-i586.jar:/home/pi/processing-2.1.1/core/library/gluegen-rt-natives-macosx-universal.jar:/home/pi/processing-2.1.1/core/library/gluegen-rt-natives-linux-amd64.jar:/home/pi/processing-2.1.1/core/library/jogl-all-natives-windows-i586.jar:/home/pi/processing-2.1.1/core/library/gluegen-rt-natives-windows-amd64.jar:/home/pi/processing-2.1.1/core/library/gluegen-rt-natives-windows-i586.jar:/home/pi/processing-2.1.1/core/library/jogl-all.jar:/home/pi/processing-2.1.1/core/library/jogl-all-natives-linux-amd64.jar:/home/pi/processing-2.1.1/core/library/core.jar:/home/pi/processing-2.1.1/core/library/gluegen-rt-natives-linux-armv6hf.jar:/home/pi/processing-2.1.1/core/library/jogl-all-natives-linux-armv6hf.jar:/home/pi/processing-2.1.1/core/library/jogl-all-natives-macosx-universal.jar:/home/pi/processing-2.1.1/core/library/jogl-all-natives-linux-i586.jar:/home/pi/processing-2.1.1/core/library/jogl-all-natives-windows-amd64.jar:/home/pi/processing-2.1.1/core/library/gluegen-rt.jar:/home/pi/processing-2.1.1/core/library/gluegen-rt-natives-linux-i586.jar:/home/pi/processing-2.1.1/core/library/gluegen-rt-natives-macosx-universal.jar:/home/pi/processing-2.1.1/core/library/gluegen-rt-natives-linux-amd64.jar:/home/pi/processing-2.1.1/core/library/jogl-all-natives-windows-i586.jar:/home/pi/processing-2.1.1/core/library/gluegen-rt-natives-windows-amd64.jar:/home/pi/processing-2.1.1/core/library/gluegen-rt-natives-windows-i586.jar:/home/pi/processing-2.1.1/core/library/jogl-all.jar:/home/pi/processing-2.1.1/core/library/jogl-all-natives-linux-amd64.jar:/home/pi/processing-2.1.1/core/library/core.jar:/home/pi/processing-2.1.1/core/library/gluegen-rt-natives-linux-armv6hf.jar:/home/pi/processing-2.1.1/core/library/jogl-all-natives-linux-armv6hf.jar:/home/pi/processing-2.1.1/core/library/jogl-all-natives-macosx-universal.jar:/home/pi/processing-2.1.1/core/library/jogl-all-natives-linux-i586.jar:/usr/lib/jvm/jdk-7-oracle-armhf/jre/bin/../../jre/lib/rt.jar:/home/pi/processing-2.1.1/lib/ant-launcher.jar:/home/pi/processing-2.1.1/lib/ant.jar:/home/pi/processing-2.1.1/lib/antlr.jar:/home/pi/processing-2.1.1/lib/com.ibm.icu_4.4.2.v20110823.jar:/home/pi/processing-2.1.1/lib/jdi.jar:/home/pi/processing-2.1.1/lib/jdimodel.jar:/home/pi/processing-2.1.1/lib/jna.jar:/home/pi/processing-2.1.1/lib/org-netbeans-swing-outline.jar:/home/pi/processing-2.1.1/lib/org.eclipse.osgi_3.8.1.v20120830-144521.jar:/home/pi/processing-2.1.1/lib/pde.jar:/home/pi/processing-2.1.1/core/library/core.jar:/home/pi/processing-2.1.1/core/library/gluegen-rt-natives-linux-amd64.jar:/home/pi/processing-2.1.1/core/library/gluegen-rt-natives-linux-armv6hf.jar:/home/pi/processing-2.1.1/core/library/gluegen-rt-natives-linux-i586.jar:/home/pi/processing-2.1.1/core/library/gluegen-rt-natives-macosx-universal.jar:/home/pi/processing-2.1.1/core/library/gluegen-rt-natives-windows-amd64.jar:/home/pi/processing-2.1.1/core/library/gluegen-rt-natives-windows-i586.jar:/home/pi/processing-2.1.1/core/library/gluegen-rt.jar:/home/pi/processing-2.1.1/core/library/jogl-all-natives-linux-amd64.jar:/home/pi/processing-2.1.1/core/library/jogl-all-natives-linux-armv6hf.jar:/home/pi/processing-2.1.1/core/library/jogl-all-natives-linux-i586.jar:/home/pi/processing-2.1.1/core/library/jogl-all-natives-macosx-universal.jar:/home/pi/processing-2.1.1/core/library/jogl-all-natives-windows-amd64.jar:/home/pi/processing-2.1.1/core/library/jogl-all-natives-windows-i586.jar:/home/pi/processing-2.1.1/core/library/jogl-all.jar -ea processing.core.PApplet --editor-location=662,192 --external --display=0 sketch_140222a --sketch-path=/tmp/untitled4841789774104454769sketches/sketch_140222a
at processing.core.PApplet.exec(PApplet.java:3923)
at processing.mode.java.runner.Runner$1.run(Runner.java:437)
at java.lang.Thread.run(Thread.java:724)
Answers
No such file or directory is the error. You either cannot open the file and need to use sudo or you are using a 64 bit version of processing or some of the libraries cannot be opened because of the same reason. ARM is a 32 bit processor.