Posts Tagged ‘Sun’

Installing Sun Java 6 in Ubuntu 10.04

Posted: December 14, 2010 in HowTo
Tags: , , , ,

To install Sun Java 6, follow the steps below

Sun Java 6 has been moved canonical partner repository. To enable it run the below
$ sudo add-apt-repository "deb lucid partner"

Run below to update packages from recently enabled repository
$ sudo apt-get update

To install Sun Java 6 JDK, run the following
$ sudo apt-get install sun-java6-jdk

Accept the terms of agreement when asked and verify the install as below
$ java -version