Sun/Oracle Java on Ubuntu

Ubuntu Lucid Lynx (10.04) does not have the sun java repositories available by default.  You need to add them like this:

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

Then update the packages available:

sudo apt-get update

Then you can install Sun’s (Oracles?) Java

sudo apt-get install sun-java6-jdk sun-java6-jre sun-java6-plugin

Leave a Reply

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