This post is roughly 12 years old; last updated on January 16, 2012! The information presented here may be out of date and inaccurate.
My Java PPA has been disabled by Canonical, possibly because they violate the Ubuntu CoC and PPA terms of use, as Jef Spaleta noted in the comments below, although I’ve had no communication from Canonical at this time. I’m preparing an alternative solution, for those of you who need Sun Java 6, that doesn’t violate and copyrights, CoCs or terms of use. A new blog post will be made when that alternate solution is available.
I’ve developed another solution for installing Java 6u30 on Ubuntu which doesn’t infringe any copyrights, licenses, terms of use or CoC’s.
Sun Java 6 packages are being removed from Ubuntu in the near future for the
following reasons:
See the full Canonical notice below.
My personal motivations for creating this PPA are as follows:
I require Sun Java 6 for two enterprise applications we use at work. OpenJDK is not fully compatible.
I require Sun Java 6 for two desktop applications at home (so does my father-in-law). OpenJDK not compatible in one instance and not fully compatible in the other.
I require Sun Java 6 browser plugin for a web applications I use at home. OpenJDK is not compatible.
A friend of mine requires Sun Java 6 for building AOSP from source. OpenJDK is not compatible.
Some friends of mine play Minecraft, apparently this will help ;-)
Janusz Dziemidowicz made it easy for me - https://github.com/rraptorr/sun-java6
The PPA currently publishes Sun Java 6 1.6.0.30 for:
Lucid i386/amd64
Maverick i386/amd64
Natty i386/amd64
Oneiric i386/amd64
Precise i386. However, amd64 is failing to build on Precise. I will try and fix this in due course.
To Sun Java 6 , previously installed via packages, do the following.
sudo apt-add-repository ppa:flexiondotorg/java
sudo apt-get update
sudo apt-get dist-upgrade
To install Sun Java 6 JRE do the following:
sudo apt-add-repository ppa:flexiondotorg/java
sudo apt-get update
sudo apt-get install sun-java6-jre
To install Sun Java 6 browser plugin do the following:
sudo apt-add-repository ppa:flexiondotorg/java
sudo apt-get update
sudo apt-get install sun-java6-plugin
To install Sun Java 6 JDK do the following:
sudo apt-add-repository ppa:flexiondotorg/java
sudo apt-get update
sudo apt-get install sun-java6-jdk
You can take a look a round my PPA from the URL below: