Monday, July 11, 2011

How to Install Java Jdk on Ubuntu 10.04 (Lucid)

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-j
dk

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/)

1 comment:

  1. there has another programming blogsite http://howtovox.blogspot.com

    ReplyDelete