Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

Installed java plugin in /usr/lib64/mozilla/plugins. Still it doesn't show up in the plugin list. Can you help?

  • 4 svar
  • 9 har detta problem
  • 27 visningar
  • Senaste svar av dyda

more options

I have the libnpjp2.so -> /usr/java/jre1.7.0_04/lib/i386/libnpjp2.so symlink installed in /usr/lib64/mozilla/plugins (linux, RHEL6, Firefox 24.3.0) Still this java plugin doesn't show up in the plugin list. Other plugin in the same /usr/lib64/mozilla/plugins directory, such as libflashplayer.so -> /usr/lib64/flash-plugin/libflashplayer.so for instance works fine. Any suggestions?

I have the libnpjp2.so -> /usr/java/jre1.7.0_04/lib/i386/libnpjp2.so symlink installed in /usr/lib64/mozilla/plugins (linux, RHEL6, Firefox 24.3.0) Still this java plugin doesn't show up in the plugin list. Other plugin in the same /usr/lib64/mozilla/plugins directory, such as libflashplayer.so -> /usr/lib64/flash-plugin/libflashplayer.so for instance works fine. Any suggestions?

Alla svar (4)

more options

Please try the following:

  1. Open the Firefox profile folder
  2. Completely close Firefox and rename the pluginreg.dat file.
    A new pluginreg.dat file will be generated once you restart the browser.
    Any plugins you may have disabled in the Firefox Add-ons Manager will be enabled.
    More information about this step can be found here.
more options

Hi ComputerWhizz,

Your reply was helpful as it identified the problem, thank you. Upon restarting firefox, I get now: LoadPlugin: failed to initialize shared library /usr/java/jre1.7.0_04/lib/i386/libnpjp2.so wrong ELF class: ELFCLASS32 I think this indicates a 23bit vs 64bit issue. Annoying thing is that of course this jre is what I get from redhat. Do you have any suggestion?

Thanks.

more options

Sounds that you have a 32 bit Firefox version and not a 64 bit version.
So you need the 32 bit Java version.

Are you sure that the other detected plugins aren't located elsewhere?

You can find the installation path of all plugins on the about:plugins page.


See also:

more options

Thanks cor-el, but not quite. I have the 64 bit Firefox, the problem was that what redhat gives you via yum is a 32 bit java. So, not knowing this I put a symlink into /usr/lib64/mozilla/plugins that was pointing to this 32 bit .so so the 64 bit firefox chocked. So the solution was to get into a redhat subchannel and install icedtea-web.x86_64, via yum and set up a new link in /usr/lib64/mozilla as libjavaplugin.so -> /etc/alternatives/libjavaplugin.so.x86_64 Let me just say that this whole thing is crazy. It would sooo much easier if firefox came with its java plugin, but I guess I'm not the first one to realize this.