Installation Setup
1 ) Issue following command to find out current jdk version in
apt-get
apt-cache search jdk
2 ) Install java JDK and JRE with apt-get install
3 ) Ubuntu will auto download necessary file from web for installation.
4) After installation done, jdk and jre will install at /usr/lib/jvm/java-6-sun-1.6.0.06
5) Ubuntu help to create a java symbolic link and put in /usr/bin
for shortcut access4 ) type java -version, DONE !!Post-Installation Setup
Set JAVA_HOME into environment variableCopy following statement and append to /etc/profile or .bashrc file, make system set JAVA_HOME into system environment variable.