Mozilla Monitor website will be down for 2 hours starting 5/20/2025 at 6 AM PT. Visit our status site for updates.

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Java plugin not loading in Firefox 4.0b11, works fine in 3.6.13

Java plugin isn't loading in Firefox 4.0b11, but it works fine in 3.6.13 (and in Google Chrome too). It worked in Firefox 4 before, but broke somewhere around beta 5. libnpjp2.so is not really in the plugins folder, but is a symlink: /usr/lib/mozilla/plugins/libnpjp2.so -> /usr/lib/jvm/ia32-java-6-sun-1.6.0.12/jre/lib/i386/libnpjp2.so. When run from the command line, I see FF trying to load the other symlinked plugins (most totem related) but failing because they are amd64, and FF is built in 32bit. But no messages about libnpjp2.so (which IS 32bit).

Java plugin isn't loading in Firefox 4.0b11, but it works fine in 3.6.13 (and in Google Chrome too). It worked in Firefox 4 before, but broke somewhere around beta 5. libnpjp2.so is not really in the plugins folder, but is a symlink: /usr/lib/mozilla/plugins/libnpjp2.so -> /usr/lib/jvm/ia32-java-6-sun-1.6.0.12/jre/lib/i386/libnpjp2.so. When run from the command line, I see FF trying to load the other symlinked plugins (most totem related) but failing because they are amd64, and FF is built in 32bit. But no messages about libnpjp2.so (which IS 32bit).

Chosen solution

Java 1.6.0.12 is fairly old, so you can try to install the latest Java 6 U23 release.

See also http://kb.mozillazine.org/Java

Read this answer in context 👍 4

All Replies (4)

Chosen Solution

Java 1.6.0.12 is fairly old, so you can try to install the latest Java 6 U23 release.

See also http://kb.mozillazine.org/Java

I am afraid of upgrading and my internet banking stop working, after all getting Linux support from the bank will be very hard. Maybe I will take a shot in the next days, when I get some courage. *ducks in corner*

Modified by dakill

Hello again. I've updated Java to the latest version and I must say, it worked! Now I am ready to migrate to Firefox 4! My internet banking is still working, after all =) Note to other users: the newest version of Java does not have a generic Linux installer like previous versions, if you can't use the RPM packages (not using Red Hat or Fedora) you are left with only a binary that only extracts the binaries into a folder and that's it. It's not hard to make it work with Firefox, though: extract into any folder of your preference (home directory is OK), then put a symlink on Mozilla's plugin folder (/usr/lib/mozilla/plugins) pointing to libnpjp2.so in the java folder (YOUR_JAVA_FOLDER/lib/i386/libnpjp2.so). Remember to wipe your old symlinks before that. That's it, even Java not really "installed" it is working. Thanks, cor-el.

this method works for Firefox 4.0 b11..!! Manually install java plugin....