Sun Java JDK removed when upgrading to Ubuntu 10.4

02:10PM May 17, 2010 in category Java by Gavin McDonald

If you are upgrading to Ubuntu 10.4 from 8.x or 9.x note that the Sun Java

(sun-java6-*) has been removed from the multiverse repository in favour of using the preferred OpenJDK.

So when you upgrade, the sun version gets removed, but no replacement is added. So you'll need to either install OpenJDK and/or if you need the Sun JDK for development, here's how to get it back:

1. - sudo apt-get install python-software-properties

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

3. - sudo apt-get update

4. - sudo apt-get install sun-java6-jdk

Enjoy

Comments[1]

Comments:

openjdk has more source code than sunjdk, good for debugging, but it's text rendering has been a bit worse. For most people it's all they need, but a shame that the upgrade appears to drop the JDK entirely.

Posted by SteveL on May 17, 2010 at 06:35 PM EST #

Post a Comment:
Comments are closed for this entry.