Processing does not work with the default version of Java installed with Ubuntu (hrrr)
so you must install the one that does: the official Sun JDK 6 (or 7)
- Download the sun jdk 6 bin from here
-
chmod +x jdk-6u32-linux-x64.bin
-
./jdk-6u32-linux-x64.bin
-
sudo mv jdk1.6.0_32 /usr/lib/jvm/
-
sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.6.0_32/bin/javac 1 sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.0_32/bin/java 1 sudo update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.6.0_32/bin/javaws 1
-
sudo update-alternatives --config javac sudo update-alternatives --config java sudo update-alternatives --config javaws
Now you can get processing
- wget http://processing.googlecode.com/files/processing-1.5.1-linux.tgz
-
tar xzvf processing-1.5.1-linux.tgz
- cd processing-1.5.1
- ./processing
Resources