Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Learn More

two java plugins show up in add-ons

  • 2 отговора
  • 3 имат този проблем
  • 35 изгледи
  • Последен отговор от 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