Thursday, December 27, 2012

Sun Java moved to the Partner repository


Sun Java moved to the Partner repository

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:

     sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
     sudo apt-get update  
     sudo apt-get install sun-java6-jre sun-java6-plugin
     sudo update-alternatives --config java
For Ubuntu 10.10, 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:

     sudo add-apt-repository "deb http://archive.canonical.com/ maverick partner"
     sudo apt-get update  
     sudo apt-get install sun-java6-jre sun-java6-plugin
     sudo update-alternatives --config java