I am having a problem loading processing on a raspberry pi (debian wheezy). I have followed the instructions carefully and have replaced the java file with java 7 for linux from oracle. I tried starting processing at each step but keep getting the following error:
java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory
I have copied that file into /usr/shared, /usr/lib and it is also in porcessing/java/jre/lib/arm/jli/libjli.so . I have tried running processing as my usr and in root. processing is in /home/pi/processing-2.0b9 if that matters.
I am using Processing 2.0b8 and the arduino library attempting to control an arduino. Currently I have an arduino uno porgrammed with standardFirmata - that seems fine. I have the arduino library loaded into the sketchbook folder. I know which COM port things are using and have reflected that in the sketch. I thought I would try the examples before starting in on my own work but they are failing. No errors show up in experimental mode - but the Java console reads as follows:
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
Exception in thread "Animation Thread" java.lang.IllegalAccessError: tried to access class processing.core.PApplet$RegisteredMethods from class cc.arduino.Arduino$SerialProxy
at cc.arduino.Arduino$SerialProxy.<init>(Arduino.java:119)
at cc.arduino.Arduino.<init>(Arduino.java:168)
at arduino_pwm.setup(arduino_pwm.java:28)
at processing.core.PApplet.handleDraw(PApplet.java:2241)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:243)
at processing.core.PApplet.run(PApplet.java:2140)
at java.lang.Thread.run(Thread.java:662)