Install Sun Java on Fedora 14

You can install Java from on your Fedora 14 desktop. Follow the steps given below:
Download file jdk-6u24-linux-x64-rpm.bin from for Fedora 64 bit.

# chmod u+x jdk-6u24-linux-x64-rpm.bin
# ./jdk-6u24-linux-x64-rpm.bin

This will install all the rpm files.

# /usr/sbin/alternatives –install /usr/bin/java java /usr/java/default/bin/java 20000
The above command allows you to override the OpenJDK version of Java installed on your desktop.

# cd /usr/lib64/mozilla/plugins
# ln -sf /usr/java/default/jre/lib/amd64/ .
Provide the link to the default java plugin from Sun.

Last step to tell SELinux to allow firefox to execute the java plugin
# chcon -t execmem_exec_t /usr/lib64/firefox-3.6/firefox

Start firefox and in the addressbar type about:plugins
You will now see java loaded in there.