Install sun java 6 on ubuntu 10.04 (jdk jre)

1 reply [Last post]
Last seen: 9 years 2 weeks ago
Joined: 2009-03-24
bOt Points: 120

Add the repository and then update Ubuntu...Then you can use the same old command

$ sudo add-apt-repository "deb lucid partner"
$ sudo apt-get update
$ sudo apt-get install sun-java6-jdk  
or {Depending upon what you need)
$ sudo apt-get install sun-java6-jre


Last seen: 9 years 16 weeks ago
Joined: 2010-10-06
bOt Points: 54
Lucid 10.04 and EC2

I thought I was going insane trying to add this mirror to realize add-apt-repository wasn't installed.  You need

apt-get install python-software-properties

if the command fails.

Note:- This post has been edited by thesheff17 at Wed, 2010-10-06 01:03.