Feb 022010
 

Install directions from here and modified to fit my install:
http://www.java.com/en/download/help/5000010500.xml#selfextracting
(I started in the root folder – /root )


wget http://javadl.sun.com/webapps/download/AutoDL?BundleId=37391

mv jre-6u18-linux-i586.bin\?AuthParam\=1265088166_628f3dd35822fc3493e468ca17791e5c\&GroupName\=JSC\&FilePath\=%2FESD6%2FJSCDL%2Fjdk%2F6u18-b07%2Fjre-6u18-linux-i586.bin\&File\=jre-6u18-linux-i586.bin\&BHost\=javadl.sun.com jre-6u18-linux-i586.bin

chmod a+x jre-6u18-linux-i586.bin

./jre-6u18-linux-i586.bin

answer yes to license agreement

When the installation has completed, you will see the word Done.


Creating jre1.6.0_18/lib/rt.jar
Creating jre1.6.0_18/lib/jsse.jar
Creating jre1.6.0_18/lib/charsets.jar
Creating jre1.6.0_18/lib/ext/localedata.jar
Creating jre1.6.0_18/lib/plugin.jar
Creating jre1.6.0_18/lib/javaws.jar
Creating jre1.6.0_18/lib/deploy.jar

Done.


cd /usr/bin/

ln -s /usr/local/jre1.6.0_18/bin/java java

To check if java is installed correctly run

java --version

[[email protected]] ~ >> java -version
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Server VM (build 16.0-b13, mixed mode)

 Posted by at 4:40 am