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.
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.
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:
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.
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.
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:
That'll get everything working for you without problems. Enjoy.
I managed to install Sun Java in 11.10 by using partner repository from 11.04:
It works fine in FireFox and Opera. The version is
Java 6 update 26
. On http://java.com there is a newer version -- update 27.Edit: Since then I am using an excellent shell script, which automates retrieval and installation of the Oracle (Sun) Java Runtime Environment. It is provided by Duinsoft as a package
update-sun-jre
:All the required info and instructions can be found on Duinsoft site.