Reply to comment
How to install Sun Java Runtime Environment (JRE) in Fedora 11
Submitted by Richard on Thu, 10/15/2009 - 08:16This is a straightforward tutorial on how to install Sun Java Runtime Environment (JRE) in Fedora 11.
1. Go to the site below and grab the latest version of Java Runtime Environment.
http://java.sun.com/javase/downloads/index.jsp
2. After downloading the file, make the file executable
and install.
3. After the installation, you need to configure your system to use the newly installed Java Runtime Environment.
alternatives --config java
During the installation of your Fedora 11 CD or DVD, the OpenJDK 6 development and runtime packages are installed by default.
There are 3 programs which provide 'java'. Selection Command ----------------------------------------------- *+ 1 /usr/lib/jvm/jre-1.6.0-openjdk/bin/java 2 /usr/lib/jvm/jre-1.5.0-gcj/bin/java 3 /usr/java/default/bin/java Enter to keep the current selection[+], or type selection number: 3
Enter "3" to change it to your newly installed Java Runtime Environment.
Verify your version of java using this command:
The output of the command should be like this:
java version "1.6.0_16" Java(TM) SE Runtime Environment (build 1.6.0_16-b01) Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)
4. Lets configure the Java plugin for you browser.
alternatives --config libjavaplugin.so
Your default java plugin for your browser is IcedTeaPlugin.
There are 2 programs which provide 'libjavaplugin.so'. Selection Command ----------------------------------------------- *+ 1 /usr/lib/jvm/jre-1.6.0-openjdk/lib/i386/IcedTeaPlugin.so 2 /usr/java/default/plugin/i386/ns7/libjavaplugin_oji.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





Subscribe to Comments