My script is an automated wrapper for Janusz Dziemidowicz Debian packaging scripts for Java 6. My new script simply downloads the Java binary installers from Oracle, builds the .deb packages locally on your computer and creates a local ‘apt’ repository for them. Once my script has been executed you can then ‘apt-get’ install/upgrade Java 6 from your local repository. Packages are compatible with “official” Ubuntu ones and pre-existing Java 6 packages will upgrade cleanly. You can find the script and full usage instructions on github.