Sun Java 1.6.0.30 packages for Ubuntu

Sun Java 6 packages are being removed from Ubuntu in the near future for the following reasons:

See the full Canonical notice below.

Update Monday 16th January 2012

I’ve developed another solution for installing Java 6u30 on Ubuntu which doesn’t infringe any copyrights, licenses, terms of use or CoC’s. 

Update Friday 13th January 2012

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.

My personal motivations for creating this PPA are as follows:

The PPA currently publishes Sun Java 6 1.6.0.30 for:

To Sun Java 6 , previously instaled 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:

Enjoy!

Posted on January 10, 2012 at 10:53 am by Martin · Permalink
In: Linux · Tagged with: , , ,

12 Responses

Subscribe to comments via RSS

  1. Written by Marko
    on January 11, 2012 at 9:55 pm
    Reply · Permalink

    Thanks for your work. I started working on the same thing but you and Janusz Dziemidowicz saved me a lot of it. Thanks again, all of my machines are now on your JDK PPA ;)

  2. Written by Jon W
    on January 12, 2012 at 12:37 pm
    Reply · Permalink

    Thanks a bunch!

  3. [...] depending on any part of Sun Java 6 for personal or professional reasons the following PPA was set up by Martin Wimpress. The PPA provides Sun Java packagers for Ubuntu 10.04, 10.10, 11.04 and [...]

  4. Written by dakira
    on January 13, 2012 at 12:25 am
    Reply · Permalink

    Now we just need oracle-java-7 packages and this ppa would be gold ;)

  5. Written by Jef Spaleta
    on January 13, 2012 at 3:43 am
    Reply · Permalink

    I believe the binary packages in that PPA might be in violation of the copyright license under which Oracle provides the codebase. The license that Canonical was relying on is no longer available for linux operating system vendors to use. Your PPA is basically in the same situation the jpackage repository has been working under for years now, and they still don’t redistribute Sun/Oracle’s java as a binary because in doing so they are in direct breach of the licensing terms.

    You should think very carefully about this. You agree to abide by certain rules when using the PPA infrastructure and to abide by the Ubuntu CoC. Violating copyright in what you offerin your PPA is a violation of both the PPA usage terms and the spirit of the CoC itself. If you are distributing binaries of Sun’s java code in your packages you are most likely in violation of the copyright license.

    You should really talk to some Debian developers who have previously worked with Sun’s java codebase and perhaps also the jpackage maintainers to get some perspective on what is and is not a violation of the licensing terms. And make doubly sure you aren’t crossing that line.

  6. Written by Martin
    on January 13, 2012 at 10:03 am
    Reply · Permalink

    Hi Jef,

    Thanks for your thoughts. It was not my intention to violate the Ubuntu CoC or the PPA terms of use. I was simply trying offer a secure Java 6 package for those who require it, such as those in Germany who need to submit online tax returns but can only do so using the Sun Java 6 plugin since none of the alternative Java plugins are permitted. This same issue affects many online banking applications too.

    That said, I will develop alternative solution to providing Sun Java 6 packages to those who require/desire them that doesn’t infringe any CoCs, terms or use or copyright. Once I’ve published my alternative I will revoke the my Java PPA.

    Regards, Martin.

  7. Written by Jef Spaleta
    on January 13, 2012 at 7:02 pm
    Reply · Permalink

    Martin,
    Please talk to some of the debian developers who previously worked on the sun java packages in the debian repos. Previously, several years ago now, there was a version of the java packaging that used the “download tarball at install time” trick that the flash plugin package (both Ubuntu and Debian) still uses. You might be able to use that sort of mechanism in your replacement packages.You just can’t host and distribute Sun’s binaries as part of the payload. I don’t know if the “download at install time” is still a viable option or not. There could be a click through process on the Oracle website that prevents automation of the download now. I do know that Debian has chosen not to go back to building packages this way and that’s not a good sign.

    Jpackage uses a different solution which requires users to download the tarball on their own. And then users use that tarball as a source to rebuild and install the rpm package locally to get a binary package that integrates well with their system. Personally, I think this is the cleanest solution legally as each user is interacting with Oracle’s download site and making modifications locally for their own systems.

    -jef

  8. Written by IAnjo
    on January 14, 2012 at 4:59 pm
    Reply · Permalink

    Sorry to hear about canonical’s closing your PPA.

    I really hope a new solution can be found in the future.

  9. Written by Martin
    on January 16, 2012 at 11:49 am
    Reply · Permalink

    Jef,

    Thanks for your encouragement. I started work on what you described last Friday and will announce it later today.

    https://github.com/flexiondotorg/oab-java6

    At the moment this is a shell script that wraps the downloading of Oracles binary installers, then builds the .debs locally and installs them. For now it will do, but I am thinking of a meta-package approach which can be ‘apt’ installed itself.

  10. [...] 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 6u30 on Ubuntu which doesn’t [...]

  11. Written by Dami
    on January 31, 2012 at 2:38 pm
    Reply · Permalink

    Many thanks – this worked for me on Ubuntu 10.10, enough to get Openfire working.

  12. Written by Pilot6
    on February 19, 2012 at 12:13 pm
    Reply · Permalink

    The PPA works now. It makes sense to update to 31.

Subscribe to comments via RSS

Leave a Reply