Tuesday, May 4, 2010

How to install sun-java6-jdk on Ubuntu 10.04 LTS?

For the just released Ubuntu 10.04 LTS, the sun-java6-jdk packages have been removed from the Multiverse section of the Ubuntu archive. So you cannot install it using the command sudo apt-get install sun-java6-jdk!!!

In order to install sun-java6-jdk on Ubuntu 10.04 LTS, You can configure Ubuntu 10.04 LTS to use Canonical Partner Repository via command-line:

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

Then, Update the source list:

sudo apt-get update

Finally, you can install sun-java6-jdk using the command:

sudo apt-get install sun-java6-jdk

3 comments:

Unknown said...

this was really help me..thanks so much..:)

KISHOR said...

IF U ARE LOOKING TO INSTALL JDK WITHOUT INTERNET CONNECTION.!

IT IS POSSIBLE...!!

IF DOWNLOAD IT FROM OTHER SYSTEM WHICH HAVE INTERNET...

IT TAKE FEW STEPS TO INSTALL THAT..

FOR MORE DETAILED STEPS PLEASE VISIT FALLOWING LINK:

http://kishor15389.blogspot.com/2010/11/install-jdk-on-ubuntu-any-version.html

I'M SURE IT DEFINITELY WORKS...

Unknown said...

Many thanks. Worked like a charm.