Everything's Beta

things I don't get to do at work :)

Installing java in ubuntu lucid

without comments

Hopefully this saves someone 10 mins:

sun java was moved in the partner repos for lucid.
So, you’ll need to add deb http://archive.canonical.com/ubuntu lucid partner to your sources:

sudo echo  "deb http://archive.canonical.com/ubuntu lucid partner" >> /etc/apt/sources.list

then update and install:

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

Written by srijak

June 20th, 2010 at 9:11 am

Posted in Uncategorized

Leave a Reply