Install Sun Java 6 JRE and JDK from .deb packages

So, Canonical disabled my Java PPA at the end of last week. So I’ve developed another solution for installing Java on Ubuntu which doesn’t infringe any copyrights, licenses, terms of use or CoC’s. However, by running this script to download Java you acknowledge that you have read and accepted the terms of the Oracle end user license agreement.

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.

Please read the README file for a more detailed explanation of how the script works and how to use it. If anyone has any problems, then please submit a ticket on my Issue Tracker.

Comments

Comments powered by Disqus
Flattr this