Get the latest version from Java.com. Make sure you get the Linux (self-extracting file) and NOT the RPM! Open a terminal and become root, then move the file you downloaded into /opt
Execute the file. sh jre*.bin Read the EULA and type 「yes」 if you agree to it Setup Java Systemwide
Run this command as root in the terminal window: vi/etc/profile.d/java.sh Insert these lines: export J2RE_HOME=/opt/jre1.6.0_01 export PATH=$J2RE_HOME/bin:$PATH Run these commands: #source /etc/profile.d/java.sh #/usr/sbin/alternatives --install /usr/bin/java java /opt/jre1.6.0_01/bin/java 2 #/usr/sbin/alternatives --config java Type 「2″ then 「Enter」.