<<Previous Archive | Next Archive>>

Installing Java into Mozilla on Gentoo good 0 bad 0

On my Gentoo machine, Firefox plugins don't install automatically. While I haven't figured out why this happens in general, I was finally able to find a way to install the Java Runtime Environment into Firefox.

I had asked Firefox to download the JRE plugin, and maybe it did download it; but somehow it was not able to complete the install.

Here is the series of steps that ended up providing me with a working JRE plugin in Firefox (# means I was logged in as root, $ means I had reverted to my normal user account):

# emerge jre # updatedb # locate javaplugin_oji.so /opt/blackdown-jdk-1.4.2.03/jre/plugin/i386/mozilla/libjavaplugin_oji.so $ ln -s /opt/blackdown-jdk-1.4.2.03/jre/plugin/i386/mozilla/libjavaplugin_oji.so ~/.mozilla/plugins/

I opened a new Firefox window, went to a Java-enabled page, and I was able to use the Java processing.

Reference

My primary reference for the final steps was the HOWTO Java and Firefox page on Gentoo-Wiki.com.