Java Runtime (JRE)
The Java Runtime Environment (JRE) is an implementation of the JVM (Java Virtual Machine) that executes java programs. Visit the Java website for more information.
* is used throughout this documentation as a place holder for the version of the referenced object.
Install Java Runtime (JRE)
- Download the latest rpm install file from Sun’s website
- Open the Java SE downloads page in a browser
http://java.sun.com/javase/downloads/index.jsp - Click the Download button for the Java SE Runtime Environment (JRE)
- Select the Linux option for the Platform Select Box
- Check the I agree to the Java SE Runtime Environment 6 with JavaFX License Agreement checkbox
- Click the Continue button
- Download the Java SE Runtime Environment RPM file
Click the jre-*-linux-i586-rpm.bin file - Allow executing file as program (run the following command)
chmod 0755 jre-*-linux-i586-rpm.bin - Execute the file
./jre-*-linux-i586-rpm.bin - Read and accept to license
- Delete bin and rpm files
rm -f jre-*-linux-i586-rpm.bin
rm -f jre-*-linux-i586.rpm - Set the /usr/bin/java link
- Delete the existing /usr/bin/java link
rm -f /usr/bin/java - Create a new /usr/bin/java link
ln -s /usr/java/jre*/bin/java /usr/bin
- Delete the existing /usr/bin/java link
- Create an alternatives link
alternatives --install /usr/bin/java java /usr/java/jre*/bin/java 90 - Set the alternatives java to be the default
alternatives --config java
Select the /usr/java/jre*/bin/java option - Register Java Plugin with Firefox
- Ensure the Firefox plugins folder exists
mkdir /usr/lib/firefox-*/plugins - Create a symbolic link to the Java Plugin in the Firefox Plugins Directory
ln -s /usr/java/jre*/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox-*/plugins - Restart Firefox
- Ensure the Firefox plugins folder exists
- Open the Java SE downloads page in a browser
Test Java Runtime (JRE)
- Visit the Java Runtime test website.