How to install sun java/jdk in ubuntu 10.10 (maverick)
0
How to install sun java/jdk in ubuntu 10.10 (maverick)
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:It will install sun-java6-jdk from ubuntu partner repository.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 sun-java6-jdk sudo update-alternatives --config java