How to install Oracle Java Runtime Environment in Fedora 14 (64-bit)
This tutorial is for the installation of Oracle Java Runtime Environment in 64-bit Fedora systems. The installation process is slightly different from the 32-bit.
1. Install these libraries that needed by Java.
2. Go to the site below and grab the latest version of Java Runtime Environment.
http://java.com/en/
IMPORTANT: Make sure to download only the "Linux x64 RPM *".
3. After downloading the file, make it executable and install.
./jre-6u24-linux-x64-rpm.bin
4. After the installation, you need to set the Oracle JRE as your default JRE.
alternatives --config java
There are 3 programs which provide 'java'. Selection Command ----------------------------------------------- 1 /usr/lib/jvm/jre-1.5.0-gcj/bin/java *+ 2 /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java 3 /usr/java/default/bin/java Enter to keep the current selection[+], or type selection number: 3
Select "3" and verify the version of your default java.
The output of the command should be like this:
java version "1.6.0_24" Java(TM) SE Runtime Environment (build 1.6.0_24-b07) Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
5. Lets configure the Java plugin for you firefox browser.
alternatives --config libjavaplugin.so.x86_64
As you can see, your current java plugin for your firefox browser is IcedTea, we need to replace it with the newly installed JRE.
There are 2 programs which provide 'libjavaplugin.so.x86_64'. Selection Command ----------------------------------------------- *+ 1 /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/IcedTeaPlugin.so 2 /usr/java/default/lib/amd64/libnpjp2.so Enter to keep the current selection[+], or type selection number: 2
Enter "2" to change it to your newly installed Java Runtime Environment plugin.
Verify the Java plugin configured for your browser using the website below.
http://www.java.com/en/download/help/testvm.xml