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

register a plugin to firefox

  • 6 replies
  • 6 have this problem
  • 12 views
  • Paskiausią atsakymą parašė cor-el

more options

I have installed Java and Flash on Backtrack 5 R3 following the installation code below for java but Mozilla Firefox does not show any plugins or add-ons. Where does Firefox see the symbolic link at? I know my install is good, but Firefox does not recognize the symbolic link in the /usr/lib/mozilla/plugins directory libnpjp2.so . Where does Firefox recognize plugins as being installed so they show up and work in the browser?

mkdir /opt/java root@bt:~# mv -f jre1.7.0_45/ /opt/java/

update-alternatives --install /usr/bin/java java /opt/java/jre1.7.0_45/bin/java 1 root@bt:~# update-alternatives --set java /opt/java/jre1.7.0_45/bin/java

ln -sf /opt/java/jre1.7.0_45/lib/amd64/libnpjp2.so /usr/lib/mozilla/plugins/ root@bt:~# export JAVA_HOME="/opt/java/jre1.7.0_45/bin/java"

I have installed Java and Flash on Backtrack 5 R3 following the installation code below for java but Mozilla Firefox does not show any plugins or add-ons. Where does Firefox see the symbolic link at? I know my install is good, but Firefox does not recognize the symbolic link in the /usr/lib/mozilla/plugins directory libnpjp2.so . Where does Firefox recognize plugins as being installed so they show up and work in the browser? mkdir /opt/java root@bt:~# mv -f jre1.7.0_45/ /opt/java/ update-alternatives --install /usr/bin/java java /opt/java/jre1.7.0_45/bin/java 1 root@bt:~# update-alternatives --set java /opt/java/jre1.7.0_45/bin/java ln -sf /opt/java/jre1.7.0_45/lib/amd64/libnpjp2.so /usr/lib/mozilla/plugins/ root@bt:~# export JAVA_HOME="/opt/java/jre1.7.0_45/bin/java"

All Replies (6)

more options

Hi Winmark,

Thank you for contacting Mozilla support. I am not sure what flavor of linux you are working with but this is the symbolic directory:

Install to Known Locations on Linux and Mac On Linux and Mac, plugins are installed to well-known locations: Linux: /usr/lib/mozilla/plugins or /usr/lib64/mozilla/plugins Ref http://mdn.beonex.com/en/Gecko_Plugin.../Plug-in_Development_Overview.html

Where is recognizes is in the add on configuration. The plug in link may be listed in the about:config page.

Plug-ins should not be installed into the Firefox directory. The plug-in installer should either package the plug-in into an extension and install it using normal extension installation practices, or install the plug-in to the system standard install locations.

I am assuming they are in the Profile folder in the header file of the installed add on.

I have added some references below.

Previous question with reported directories: https://support.mozilla.org/en-US/que.../980397

Teddy's solution for suse 9.1: http://forums.mozillazine.org/viewtopic.php?p=520727

May have to run the plug in path in the plug in https://developer.mozilla.org/en-US/A.../The_First_Install_Problem

Please post back if this solves the issue or if you have more questions, we are happy to help.

Modified by guigs

more options

Make sure that you create a symlink to the correct Java version for your Firefox version.
The regular Firefox release is 32 bit, so you need to install the 32 bit Java version and create a symlink to its libnpjp2.so file.

See also:

more options

Thank You for posting. The flavor of Linux is Backtrack 5 r3 which uses Ubuntu. The path /usr/lib64/mozilla/plugins does exist and i added the plugin lib flashplayer.so to this directory. But, Firefox does not recognize the add-on. Somewhere Firefox needs to be directed to this file to enable the flashplayer.

more options

Does Firefox find other plugins in that /usr/lib64/mozilla/plugins directory?

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

Did you verify that you have a 64 bit Firefox version and not a 32 bit version?

Because with the normal 32 bit Firefox release you would need 32 bit versions of the plugins.

more options

Once again thanks for posting! When i go to about:support for Firefox it say's my lastAppVersion is 14.0.1, the User Agent is Mozilla/5.0 (x11; Linux i686 on x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1. plugin.soname.list is libXt.so:libXext.so. The JavaScript Incremental GC is 1. about:buildconfig target is i686-pc-linux-gnu.

The opt folder has firefox, firefox has a plugin-container executable that never registers or see's my plugins. The usr folder has lib/mozilla/plugins with a symlink to flashplugin-alternative.so and libflashplater.so because I put the latter there. The usr/lib also has a flashplugin-installer folder with libflashplayer.so. The usr/lib32 has neither mozilla or the flashplugin-installer folders. Their is usr/lib64 folder with a symlink to (inode/directory). The usr/lib64 has mozilla/plugins with both tha flashplugin-alternative.so symlink and the libflashplayer.so. The usr/lib64 also has the flashplugin-installer folder with libflashplayer.so.

The usr folder also has a x86_64-linux-gnu folder but more importantly an amd64-ming32msvc folder. Their is no i386 folder. The amd64-ming32msvc folder has bin, include and lib folders.

The aforementioned opt/firefox folder has a jsloader folder with a resource folder that is empty.

more options

You can try to create a plugins folder in the Firefox profile folder or in the ~/.mozilla folder and place the symlink to the plugin in this folder.

You can use this button to go to the Firefox profile folder: