Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Learn More

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

two java plugins show up in add-ons

  • 2 відповіді
  • 3 мають цю проблему
  • 24 перегляди
  • Остання відповідь від 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