Cookies op Tweakers

Tweakers maakt gebruik van cookies, onder andere om de website te analyseren, het gebruiksgemak te vergroten en advertenties te tonen. Door gebruik te maken van deze website, of door op 'Ga verder' te klikken, geef je toestemming voor het gebruik van cookies. Wil je meer informatie over cookies en hoe ze worden gebruikt, bekijk dan ons cookiebeleid.

Meer informatie
Toon posts:

Java error , Raspberry-PI

Pagina: 1
Acties:
  • 284 views

  • itcouldbeanyone
  • Registratie: augustus 2014
  • Laatst online: 20-09 23:33
hi, ik probeer processing aan de praat te krijgen op een raspberry pi

programma start op, maar zodra ik een sketch start
krijg ik dit te zien


java.io.IOException: Cannot run program "/home/pi/processing-2.2.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:4041)
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.<init>(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.2.1/java/bin/java -agentlib:jdwp=transport=dt_socket,address=8219,server=y,suspend=y -Djava.library.path=:/usr/java/packages/lib/arm:/lib:/usr/lib -cp /tmp/Rotate422050672793705994temp:/home/pi/processing-2.2.1/core/library/gluegen-rt-natives-linux-armv6hf.jar:/home/pi/processing-2.2.1/core/library/gluegen-rt-natives-macosx-universal.jar:/home/pi/processing-2.2.1/core/library/jogl-all-natives-windows-amd64.jar:/home/pi/processing-2.2.1/core/library/jogl-all-natives-linux-amd64.jar:/home/pi/processing-2.2.1/core/library/gluegen-rt.jar:/home/pi/processing-2.2.1/core/library/gluegen-rt-natives-linux-i586.jar:/home/pi/processing-2.2.1/core/library/jogl-all-natives-linux-armv6hf.jar:/home/pi/processing-2.2.1/core/library/gluegen-rt-natives-windows-amd64.jar:/home/pi/processing-2.2.1/core/library/jogl-all-natives-windows-i586.jar:/home/pi/processing-2.2.1/core/library/core.jar:/home/pi/processing-2.2.1/core/library/jogl-all.jar:/home/pi/processing-2.2.1/core/library/jogl-all-natives-macosx-universal.jar:/home/pi/processing-2.2.1/core/library/gluegen-rt-natives-windows-i586.jar:/home/pi/processing-2.2.1/core/library/jogl-all-natives-linux-i586.jar:/home/pi/processing-2.2.1/core/library/gluegen-rt-natives-linux-amd64.jar:/home/pi/processing-2.2.1/core/library/gluegen-rt-natives-linux-armv6hf.jar:/home/pi/processing-2.2.1/core/library/gluegen-rt-natives-macosx-universal.jar:/home/pi/processing-2.2.1/core/library/jogl-all-natives-windows-amd64.jar:/home/pi/processing-2.2.1/core/library/jogl-all-natives-linux-amd64.jar:/home/pi/processing-2.2.1/core/library/gluegen-rt.jar:/home/pi/processing-2.2.1/core/library/gluegen-rt-natives-linux-i586.jar:/home/pi/processing-2.2.1/core/library/jogl-all-natives-linux-armv6hf.jar:/home/pi/processing-2.2.1/core/library/gluegen-rt-natives-windows-amd64.jar:/home/pi/processing-2.2.1/core/library/jogl-all-natives-windows-i586.jar:/home/pi/processing-2.2.1/core/library/core.jar:/home/pi/processing-2.2.1/core/library/jogl-all.jar:/home/pi/processing-2.2.1/core/library/jogl-all-natives-macosx-universal.jar:/home/pi/processing-2.2.1/core/library/gluegen-rt-natives-windows-i586.jar:/home/pi/processing-2.2.1/core/library/jogl-all-natives-linux-i586.jar:/home/pi/processing-2.2.1/core/library/gluegen-rt-natives-linux-amd64.jar:/usr/lib/jvm/jdk-7-oracle-armhf/jre/bin/../../jre/lib/rt.jar:/home/pi/processing-2.2.1/lib/ant-launcher.jar:/home/pi/processing-2.2.1/lib/ant.jar:/home/pi/processing-2.2.1/lib/antlr.jar:/home/pi/processing-2.2.1/lib/com.ibm.icu_4.4.2.v20110823.jar:/home/pi/processing-2.2.1/lib/jdi.jar:/home/pi/processing-2.2.1/lib/jdimodel.jar:/home/pi/processing-2.2.1/lib/jna.jar:/home/pi/processing-2.2.1/lib/org-netbeans-swing-outline.jar:/home/pi/processing-2.2.1/lib/org.eclipse.osgi_3.8.1.v20120830-144521.jar:/home/pi/processing-2.2.1/lib/pde.jar:/home/pi/processing-2.2.1/core/library/core.jar:/home/pi/processing-2.2.1/core/library/gluegen-rt-natives-linux-amd64.jar:/home/pi/processing-2.2.1/core/library/gluegen-rt-natives-linux-armv6hf.jar:/home/pi/processing-2.2.1/core/library/gluegen-rt-natives-linux-i586.jar:/home/pi/processing-2.2.1/core/library/gluegen-rt-natives-macosx-universal.jar:/home/pi/processing-2.2.1/core/library/gluegen-rt-natives-windows-amd64.jar:/home/pi/processing-2.2.1/core/library/gluegen-rt-natives-windows-i586.jar:/home/pi/processing-2.2.1/core/library/gluegen-rt.jar:/home/pi/processing-2.2.1/core/library/jogl-all-natives-linux-amd64.jar:/home/pi/processing-2.2.1/core/library/jogl-all-natives-linux-armv6hf.jar:/home/pi/processing-2.2.1/core/library/jogl-all-natives-linux-i586.jar:/home/pi/processing-2.2.1/core/library/jogl-all-natives-macosx-universal.jar:/home/pi/processing-2.2.1/core/library/jogl-all-natives-windows-amd64.jar:/home/pi/processing-2.2.1/core/library/jogl-all-natives-windows-i586.jar:/home/pi/processing-2.2.1/core/library/jogl-all.jar -ea processing.core.PApplet --editor-location=712,242 --external --display=0 Rotate --sketch-path=/home/pi/processing-2.2.1/modes/java/examples/Basics/Transform/Rotate
at processing.core.PApplet.exec(PApplet.java:4044)
at processing.mode.java.runner.Runner$1.run(Runner.java:437)
at java.lang.Thread.run(Thread.java:724)


heeft iemand een ide ? oplossing ? :)

Stratis : SbjhPeaHC2ufttT1T6DP3nDE2cDF4KtbUL


  • RobIII
  • Registratie: december 2001
  • Laatst online: 11:50

RobIII

Admin Devschuur®

^ Romeinse 3 ja!

Pfoe, heb ik effe een stapel leesvoer voor je zeg :D

Kan iemand even...?
Help, mijn script werkt niet (goed)
Debuggen: Hoe doe ik dat?
Hoe post je code?
En tot slot: onze Quickstart: Wat heb je zelf al geprobeerd/gezocht/gevonden etc.? GoT is geen afhaalchinees waar je lekker je code (of stacktrace) kunt dumpen en vervolgens iemand op een zilveren dienblad je oplossing komt aandragen ;)

En zo te zien ben je al eerder gewezen op hoe we hier werken...

Verder is 't misschien handig als je de foutmelding gewoon even leest? "No such file or directory"... Lijkt me op z'n minst een hint die je in de goede richting moet wijzen?

[Voor 16% gewijzigd door RobIII op 22-04-2015 11:17]

There are only two hard problems in distributed systems: 2. Exactly-once delivery 1. Guaranteed order of messages 2. Exactly-once delivery.

Roses are red Violets are blue, Unexpected ‘{‘ on line 32.

Over mij


Dit topic is gesloten.



Apple iPhone SE (2020) Microsoft Xbox Series X LG CX Google Pixel 4a CES 2020 Samsung Galaxy S20 4G Sony PlayStation 5 Nintendo Switch Lite

'14 '15 '16 '17 2018

Tweakers vormt samen met Hardware Info, AutoTrack, Gaspedaal.nl, Nationale Vacaturebank, Intermediair en Independer DPG Online Services B.V.
Alle rechten voorbehouden © 1998 - 2020 Hosting door True