為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

two java plugins show up in add-ons

  • 2 回覆
  • 3 有這個問題
  • 5 次檢視
  • 最近回覆由 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 於 修改