Install java jdk jre in Ubuntu(linux)

Just when i installed UBUNTU in my virtual machine i looked for my development applications. And the prime need was JAVA, the language in which i talk these days :p

So people like me, who are LINUX aspirant, and want to lean more about it, start by using java. A simple command in the console can do the magic

sudo apt-get install sun-java6-jdk

The install is going to take time, depending on the kind of network hooked into ur machine 🙂
just when the installer finishes it, you can use the following two commands to verify the successful install.

java -version
javac -help

cheers !!