Thursday, July 21, 2011

Java Plugin for Firefox in Fedora 15 64-bit

Due to a personal preference, I still feel that the Oracle/SUN JRE is superior to OpenJDK.

It is a pain to enable Oracle/Sun JRE plugin for Firefox in Fedora 15; they just force you to do their OpenJDK and IcedTea for browser. For some sites, unfortunately, these FOSS variants just won't work .

To enable the "real" JRE support for FF, just create a symbolic link of the plugin lib from $JAVA_HOME to /usr/lib64/mozilla/plugins e.g. :

ln -s $JAVA_HOME/lib/amd64/default/libnpjp2.so /usr/lib64/mozilla/plugins

Ensure that your JAVA_HOME variable is defined.

2 comments:

Cegonsoft said...

Can you say? What are the java plugin using for Firefox? what is called as Fedora? Because I searched about Fedora, But I didn't get clear idea.....
Cegonsoft

msian_tux_lover said...

If you install Fedora from DVD the IcedTea FOSS Java plugin will be installed. If you install from Live CD no Java Runtime nor Java plugin will be installed.