Will Sun's Java be available from Canonical's partner repository?

11,584

Solution 1

Sun Java has been disabled via a security update due to it exposing users to known security holes and has been removed from the partner archive.

Due to the severity of the security risk, Canonical is immediately releasing a security update for the Sun JDK browser plugin which will disable the plugin on all machines. This will mitigate users' risk from malicious websites exploiting the vulnerable version of the Sun JDK.

As such people are strongly encouraged to either install OpenJDK or Oracle's JDK for their Java needs. Third party PPAs that distribute "sun java" earlier than update 28 are also vulnerable, and should not be recommended for any kind of use.

This page has a more detailed explanation of the issue:

And you can find information about Java in the official documentation:

To install OpenJDK follow these instructions:

and here are instructions from this site if you want to install Oracle Java:

Solution 2

1) Oracle JDK will not longer be released or supported with Oneiric, OpenJDK will be used instead. You will ofc still be able to manually install it and use it free of charge by downloading it from the Oracle download page.

2) Icedtea will still be used for integration on 11.10 as you can see here.

Solution 3

You can still install Oracle (Sun) Java JRE manually, by applying this easy how-to: http://sites.google.com/site/easylinuxtipsproject/java

That way, you don't run risks with unverified PPA's and such.

Solution 4

According to Oracle, OpenJDK is now the official version of Java. http://blogs.oracle.com/henrik/entry/moving_to_openjdk_as_the

To install in Ubuntu, just type in:

sudo apt-get install openjdk-7-jdk

That'll get everything working for you without problems. Enjoy.

Share:
11,584

Related videos on Youtube

Moma Antero
Author by

Moma Antero

Updated on September 18, 2022

Comments

  • Moma Antero
    Moma Antero over 1 year

    I just discovered that Oracle's (Sun's) Java6 has vanished from the Canonical's partner repository.

    Before Java was taken from all repositories I had purchased Minecraft for play in Ubuntu. After recent re-install I can not find a way to play this game in the only OS installed now on my systems.

    Open source Java equivalents will not run this piece of software nor am I able to use Yahoo Games with my friends. Somewhere I should have been given a choice as to what security risks I'm willing to deal with in order continue to use or not use paid commercial software.

    Is there any solution besides directly downloading the java from sun and trying to re-install manually? This method coupled with my short Ubuntu term skills is not an option.

  • Jorge Castro
    Jorge Castro over 12 years
    This answer no longer applies.
  • AlikElzin-kilaka
    AlikElzin-kilaka over 12 years
    @Jorge: what do you mean by "no longer applies"? kaimadag said it works fine.
  • Jorge Castro
    Jorge Castro over 12 years
    @kilala This answer is from October, java is no longer available in this manner from the partner repository.
  • Tachyons
    Tachyons about 12 years
    This worked in february too