Sun Java moved to the Partner repository in Ubuntu 10.04 (Lucid)

For Ubuntu 10.04 LTS, the sun-java6  packages have been dropped from the Multiverse section of the Ubuntu archive. It is recommended that you use openjdk-6 instead.

If you can not switch from the proprietary Sun JDK/JRE to OpenJDK, you can install sun-java6 packages from the Canonical Partner Repository. You can configure your system to use this repository via command-line:

add-apt-repository "deb http://archive.canonical.com/ lucid partner"

Sponsored Link

Incoming search terms:

Related posts

22 thoughts on “Sun Java moved to the Partner repository in Ubuntu 10.04 (Lucid)

  1. If OpenJDK worked better I’d use it, but a lot of Java apps and sites look funny or just plain don’t work with OpenJDK, or at least that’s how it was about 6 months ago.

    [Reply]

  2. You can also enable it from system->Administration->Software Sources, second tab “other sources” and check the “http://archive.canonical.com/ lucid partner”

    [Reply]

  3. @Jason: Yes this is my impression as well, which begs the question of why OpenJDK is recommended. By the way, author of this article, where is the reference to the recommendation? It’s so annoying when articles don’t have references. :-/

    [Reply]

  4. The command specified doesn’t work in Lucid. Using heepie’s way still works, though.

    OpenJDK is far from really usable here. A lot of java-applets don’t want to load and programs like JDownloader have crippled text and are action weird.

    [Reply]

  5. well, this web page shows wrong double quotes

    [Reply]

    admin Reply:

    I have updated with correct quotes

    [Reply]

  6. Problem with OpenJDK and e.g. eclipse IDE is that it’s *much* slower than Sun’s JDK (…).

    [Reply]

  7. I’ve ticked the appropriate checkboxes in the software sources dialog (“http://archive.canonical.com/ubunto lucid partner”) but I still can’t see Sun’s Java in the Ubuntu software centre. What am I doing wrong?

    Notice that in my version of Ubuntu ( Ubuntu 10.04 LTS – Lucid Lynx ) the software source is labled
    ‘ubuntu lucid partner’ not simply lucid partner.

    Any help greatly appreciated. I hope to run eclipse, and don’t want to be running with the slow version of openJDK.

    Jamie

    [Reply]

  8. I would love to see OpenJDK stable and usable but it is simply not. Just today I found two bugs:
    – cannot handle the junit-frames.xsl
    – cannot compile code with complex generics

    None of this problems exist with sun jdk. What is even worst I spend significant amount of time trying to file a bug with OpenJDK just to find out that http://bugs.openjdk.java.net/ and no signs of coming up :(

    Therefore OpenJDK cannot be default, it should not be default, sorry.

    [Reply]

  9. This is one of the thing I hate with Linux. This is something that should just work. Java is essential in todays web experience and for Normal people not like me, it is hopeless to get the grip of it.

    Problem with java is one thing, the missing support for encrypted DVDs are another. This is just examples of things that has to be solved before Ubuntu can be a real competitor of systems like windows.

    Reason for nagging is that Ubuntu claims to be the Linux portal for everybody and especially for the windowized part of the community.

    Things like this makes them laugh out loudly.

    [Reply]

  10. dvd decryption is in the medibuntu site – there because it is licenced differently – but can easily be included in available software

    [Reply]

  11. Open JDK screwed up all the drop down panes used by other programs like Think Or Swim. The upgrade to Ubuntu 9 and then Ubuntu 10 has been disastrous, especially in the choice of Open JDK vs Sun Java. It is hard to convince people anyone took their testing seriously. Ubuntu will fail if this careless attitude carrues on.

    [Reply]

  12. To install sun-jdk in 10.04
    1) System – > Administration – > software sources -> other softwares ; check lucid partner line
    2) System – > Administration – > synaptic; reload
    3) find jdk
    4) check sun-java6-jdk
    5) Apply

    [Reply]

  13. One more point:
    still the java path will be to open-jdk installation. To make sun-jdk as default:

    6) Un-check all open-jdk items in synaptic and apply

    This will result in re-map /etc/alternatives/java to the java-6-sun directory.

    Now, Enter java -version on command prompt.

    You should now get :
    $ java -version
    java version “1.6.0_20″
    Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
    Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)

    Well — thats it.

    [Reply]

  14. I can see why they recommend OpenJDK. Oracle now own Sun Java. Sun Java is not open. Oracle aren’t afraid to sue people. If you want a usable, open Java, then best to get behind OpenJDK now and help make it usable – both my reporting bugs and maybe – if you can – by helping to fix the code. Then, at some future point when / if Oracle impose more restrictions on Sun Java….we will be ready and have a well-developed alternative. But we need to think ahead and make this investment now. Or we will find ourselves trapped. Same dilemma we always face with proprietary software.

    [Reply]

Leave a comment

Your email address will not be published. Required fields are marked *