Type the following in the command line:
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk
Then, to see if it was successful type the following:
javac -version
To list all installed jdk version under Ubuntu / Debian Linux, enter:
dpkg --list | grep -i jdk
(SOURCE: http://happy-coding.com/install-sun-java6-jdk-on-ubuntu-10-04-lucid/)
Subscribe to:
Post Comments (Atom)
there has another programming blogsite http://howtovox.blogspot.com
ReplyDelete