Friday, March 25, 2011

Installing sun-java6-jre on Ubuntu 10.10


Today I was trying to install Sun Java JRE.


to install sun-java6-jre on Ubuntu 10.04 LTS, type the commands below in Terminal:

sudo add-apt-repository "deb lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jre




When I ran the first command above I received the following error:

sudo: add-apt-repository: command not found


I ended up having to run this command and everything was made better

sudo apt-get install python-software-properties