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
this was really help me..thanks so much..:)
ReplyDeleteIF U ARE LOOKING TO INSTALL JDK WITHOUT INTERNET CONNECTION.!
ReplyDeleteIT 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...
Many thanks. Worked like a charm.
ReplyDelete