Re: Processing P3D, Raspberry Pi, OpenGL doesn't work
Posted by
Xerxes Rånby on
Jul 19, 2015; 6:08pm
URL: https://forum.jogamp.org/Processing-P3D-Raspberry-Pi-OpenGL-doesn-t-work-tp4034928p4034941.html
cicciottino@libero.it wrote
- when i lunched ./processing from .....build/linux/work i got this message:
/opt/processing/build/linux/work/java/bin/java: l: /opt/processing/build/linux/work/java/bin/java: Syntax error: "(" unexpected
Processing like to bundle a JVM into the work/java directory of the build depending on the arch you use during the build.
The error you see is caused when you are trying to run a x86 JVM on a ARM system.
If you had performed the build directly on the Pi then is expected that the build had download a ARM JVM into java folder.
Gottfried Haider is working part of this years google summer of code 2015 to make processing work on ARM. If you run into any build issues/ usage issues related to processing then I suggest that you contact Gottfried so you two can collaborate on how to resolve the issues.
A workaround is to delete the work/java directory. Processing will then use system installed java if the processing/java folder can't be found.