Wednesday, February 16, 2011

Sun Java for Ubuntu 10.04 and 10.10

For Ubuntu 10.04 LTS
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
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

No comments:

Post a Comment