Get Firefox or Mozilla to use a different JRE

From MEPIS Documentation Wiki

Jump to: navigation, search

The trick here is making a symbolic link between the .so files under your JRE and Mozilla or Firefox.

Here is an example

ln -fs /usr/share/java/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/

ln -fs /usr/share/java/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla-firefox/plugins/

Your java location might be different. I use the 1.5 JDK so my JRE is /usr/lib/j2sdk1.5-sun/jre which would need to replace /usr/share/java/jre1.5.0_04/ in the commands above.

If you cannot locate the files (since the path might have changed) run updatedb as root and then locate libjalibjavaplugin_oji.so

Personal tools