This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

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

two java plugins show up in add-ons

  • 2 replies
  • 3 have this problem
  • 1 view
  • Paskiausią atsakymą parašė Chelmite

more options

The add-ons page shows two java plug-ins; Java(TM) plug-in 11.11.2 Next Generation Java Plug-in 11.11.2 for Mozilla browsers Java(TM) plug-in 11.5.2 Next Generation Java Plug-in 11.5.2 for Mozilla browsers

My plugins directory (~/.mozilla/plugins) contains: % ls -l ~/.mozilla/plugins lrwxrwxrwx 1 gxineplugin.so -> /usr/lib/gxine/gxineplugin.so lrwxrwxrwx 1 libflashplayer.so -> /usr/lib/flashplugin-installer/libflashplayer.so lrwxrwxrwx 1 libnpjp2.so -> /opt/java/jdk/jdk1.8.0_11/jre/lib/amd64/libnpjp2.so* lrwxrwxrwx 1 libnpsoplugin.so -> /local/opt/libreoffice4.2/program/libnpsoplugin.so* % ls -lL ~/.mozilla/plugins -rw-r--r-- 1 18560 Apr 9 2013 gxineplugin.so -rw-r--r-- 1 19237552 Aug 13 07:51 libflashplayer.so -rwxr-xr-x 1 216608 Jun 16 17:37 libnpjp2.so* -rwxr-xr-x 1 31279 Jun 12 07:22 libnpsoplugin.so*

Firefox 31.0 Ubuntu 14.04 x86-64

The add-ons page shows two java plug-ins; Java(TM) plug-in 11.11.2 Next Generation Java Plug-in 11.11.2 for Mozilla browsers Java(TM) plug-in 11.5.2 Next Generation Java Plug-in 11.5.2 for Mozilla browsers My plugins directory (~/.mozilla/plugins) contains: % ls -l ~/.mozilla/plugins lrwxrwxrwx 1 gxineplugin.so -> /usr/lib/gxine/gxineplugin.so lrwxrwxrwx 1 libflashplayer.so -> /usr/lib/flashplugin-installer/libflashplayer.so lrwxrwxrwx 1 libnpjp2.so -> /opt/java/jdk/jdk1.8.0_11/jre/lib/amd64/libnpjp2.so* lrwxrwxrwx 1 libnpsoplugin.so -> /local/opt/libreoffice4.2/program/libnpsoplugin.so* % ls -lL ~/.mozilla/plugins -rw-r--r-- 1 18560 Apr 9 2013 gxineplugin.so -rw-r--r-- 1 19237552 Aug 13 07:51 libflashplayer.so -rwxr-xr-x 1 216608 Jun 16 17:37 libnpjp2.so* -rwxr-xr-x 1 31279 Jun 12 07:22 libnpsoplugin.so* Firefox 31.0 Ubuntu 14.04 x86-64

Chosen solution

Thanks, that was part of the solution, because it listed only the locations of the actual plugins, not the symbolic links that point to them, which was the problem.

I found all locations of the plugin by running:

% locate -0 libnpjp2.so | xargs -0 ls -lt

The plugin was, besides being in the JDK and JRE plugins directories, symbolically linked in:

  • ~/.mozilla/plugins
  • ~/.mozilla/firefox/plugins
  • ~/.firefox/plugins
  • /usr/lib/mozilla-firefox/plugins/

The last 3 of these were pointing to old JRE's. I deleted my redundant ones (keeping ~/.mozilla/plugins), and updated the plugin links in /usr/lib/mozilla-firefox/plugins/. After restarting firefox, only the latest plugin shows up!

Skaityti atsakymą kartu su kontekstu 👍 1

All Replies (2)

more options

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

See also "Manually uninstalling a plugin":

more options

Chosen Solution

Thanks, that was part of the solution, because it listed only the locations of the actual plugins, not the symbolic links that point to them, which was the problem.

I found all locations of the plugin by running:

% locate -0 libnpjp2.so | xargs -0 ls -lt

The plugin was, besides being in the JDK and JRE plugins directories, symbolically linked in:

  • ~/.mozilla/plugins
  • ~/.mozilla/firefox/plugins
  • ~/.firefox/plugins
  • /usr/lib/mozilla-firefox/plugins/

The last 3 of these were pointing to old JRE's. I deleted my redundant ones (keeping ~/.mozilla/plugins), and updated the plugin links in /usr/lib/mozilla-firefox/plugins/. After restarting firefox, only the latest plugin shows up!

Modified by Chelmite