"I tried exporting a project as an application from my Mac and running that on the Pi" This method cannot work. At best, move the jar to the Pi and try to run it with the Java you have on it. It won't be able to use libraries with native code, like Minim. Not sure if OpenGL is supported there.
I successfully managed to run Processing on the Raspberry Pi :
- install Java for ARM (OpenJDK through apt-get on Debian) - download the official zip for Linux 32 bits (version 1.5.1 in my case) - unzip as usual but then remove the java directory and make instead a symbolic link : java -> /usr/lib/jvm/java-6-openjdk/
Then you should be able to have Processing running. But as I need to use it without X environment (no display), I had to install the virtual X framebuffer (xvfb) And if you plan to use Serial communication, you have to replace the rxtx so library by a ARM-compatible one.
If you need USB serial communications on the RPi with Processing, you have to make changes to the P5 environnment, such as deleting the RXTX .so and replacing with ARM versions, available from "
sudo apt-get install librxtx-java"
If you think it's valuable, I may translate my article in english, but the commands in the terminal don't need translation :)
I am currently trying to figure out how to run an OPENGL sketch in processing on the raspberry pi. I installed all probably necessary packages like jogl/gluegen-rt etc, but i can still not manage to make it work on the pi.
currently my error is UnsatisfiedLinkErro: jogamp.common.jvm.JVMUtil.initialize(Ljava/nio/ByteBuffer;)Z - maybe anybody has an idea how to fix this and make it work.
any help would be apreciated and ill keep you updated about my progress.
That error above occurs only in the newsest processing version 2.08a, no matter which renderer you select. did anybody manage to get an glsl shader working in processing on the pi?
There was a small jar name change in JogAmp JOGL RC10: jogl.all.jar is now named jogl-all.jar make sure Processing include the gluegen-rt.jar and jogl-all.jar in the classpath and that the *natives-linux-arm*jar's is placed next to them. http://jogamp.org/jogl/doc/deployment/JOGL-DEPLOYMENT.html
I will say the above comment is a bit over my head, but i do understand it will be modifying core directories to point Processings search paths for files.
This leads me to my question;
I have the Processing (2.06) working fine with openJDK, and have compiled applications fine ( side note: to create rasp pi Processing apps, you need to export applet ON the raspberry pi; its what worked for me atleast)
BUT as many are asking, I am trying to grab video capture. i get an error since it is searching for a sun java script, specifically this error:
UnsatisfiedLinkError: jnidispatch (/com/sun/jna/linux-arm/libjnidispatch.so) not found in resource path.