Installing Oracle Java7 JDK on Ubuntu 12.04

If you really need Oracle Java (some applications seem to insist on it) on Ubuntu here is the procedure using a PPA. sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer HT to WebUpd8

Continue Reading Installing Oracle Java7 JDK on Ubuntu 12.04

Installing Java6 JDK on Ubuntu 12.04

UPDATE: [01-May-2012] It appears that this PPA repo is currently broken (does not allow to get GPG key and has unmet dependencies on x84_64). It appears that the install on i386 systems does work anyway if you ignore the GPG key error, but I wouldn't install in that case as PPA installs are security risk enough without GPG errors. UPDATE: [11-May-2012] The reason the PPA does not work is that it has been disabled by Ubuntu due to a licensing issue with (not hard to guess) Oracle. have however created a script (hosted on Github) to allow the automated update of Java 6 for those who still require it as a dependency. wget -O chmod +x sudo ./ Hat tip to Martin Wimpress from Flexion ! UPDATE: [07-Aug-2012] Thanks to a comment from Pierre-Yves Langlois this seems to be the best method (uses the latest version of the Flexion script from Github rather than the version referenced above) sudo apt-get purge sun-java* #You need to do that if you want the mozilla plugin to work without conflict with java7 for instance. mkdir ~/src cd ~/src git clone cd ~/src/oab-java6 sudo ./ Then when its finished, install java: sudo apt-get install sun-java6-plugin sun-java6-jre sun-java6-bin sun-java6-jdk You can follow the installation process with: tail -f ~/src/oab-java6/ Note: If you do not need Java 6 it's much safer to stick to the current Oracle Java 7 release. This is an update to the Java6 install on 11.10 since…

Continue Reading Installing Java6 JDK on Ubuntu 12.04