23
Jul
Installing Processing in Ubuntu 12.04
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
- http://www.devsniper.com/ubuntu-12-04-install-sun-jdk-6-7/
- http://wiki.processing.org/w/Supported_Platforms#Linux
- http://code.google.com/p/processing/issues/detail?id=955
- http://blog.joelotz.net/?p=296
- https://help.ubuntu.com/community/Java
Hi!
Thanks for this wonderful post. I’d like to collaborate whit a couple things:
1. Getting Java6 from a PPA : http://www.webupd8.org/2012/11/oracle-sun-java-6-installer-available.html
2. I understand that we need Oracle Java 6, but why Processing 1.5 and not Processing 2.x? Because compability with arduino or just because it is the stable version?
Regards!
Hi Anonymouse
If I remember well, Processing 2.x was not available when I wrote this post. I will updated this post when I try the new Processing version. Did you do it already? did it work fine?
Thanks for the comments.