Ubuntu install Java Sun Package

Sun Java packages have been dropped from Ubuntu 10.04 LTS from the Multiverse section of Ubuntu archive. Ubuntu team is encouraging users to use OpenJDK instead of Sun JDK/JRE but still if you want to install Sun JDK on your Ubuntu then here is the solution for the same. This is instruction to install Java Sun Package in Ubuntu :

  1. add-apt-repository “deb http://archive.canonical.com/ lucid partner”
  2. sudo apt-get update
  3. sudo apt-get install sun-java6-bin sun-java6-jre

Add a Comment

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