Download Java SE SDK 6, just go to http://java.sun.com/javase/downloads/index.jsp,and follow the instructions to download a Linux Version called jdk-6-linux-i586-rpm.bin, and save it in /usr/java directory.You may have to create the java directory if it’s not there.

To install Java SE SDK, just type following commands in /usr/java directory.

# cd /usr/java
# chmod 755 jdk-6-linux-i586-rpm.bin 
# ./jdk-6-linux-i586-rpm.bin

To verify that JDK6 is installed in /usr/java/jdk1.6.0_16 directory, type the following command to test:

# /usr/java/jdk1.6.0_16/bin/java -version
 
Feedbacks: We appreciate your feedbacks and suggestions about our website bala@techgyaan.org
Check out . Follow @techgyaan