为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

two java plugins show up in add-ons

  • 2 个回答
  • 3 人有此问题
  • 1 次查看
  • 最后回复者为 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

被采纳的解决方案

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!

定位到答案原位置 👍 1

所有回复 (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

选择的解决方案

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!

由Chelmite于修改