Installing java plugin for firefox

From Notes_Wiki

Home > CentOS > CentOS 6.x > Desktop tools > Firefox > Installing java plugin for firefox

Follow these steps for installing java plugin in firefox in CentOS

  1. If OS is 64-bit then download 64-bit version of JRE else if it is 32-bit then download 32-bit version of JRE.
  2. Install JRE and run 'updatedb'.
  3. Then locate file 'libnpjp2.so'.
  4. For 32-bit OS go to '/usr/lib/mozilla/plugins' and for 64-bit OS go to '/usr/lib64/mozilla/plugins'. You can open browser and open 'about:plugins' and verify that you can see the same plugin files in the directory you are in. This is to verify that you are in correct directory as there are also other paths like '/usr/share/mozilla' and '/usr/lib/firefox-ver' which cause confusion.
  5. Now do
    ln -s <full_path of libnpjp2.so> .
    in correct plugins directory.
  6. Now restart firefox and again open 'about:plugins' to verify that plugin got detected and installed.


Note:

  • You can start firefox from terminal using command 'firefox' in case plugin is not getting installed to see proper error message. This can be helpful if you install 32-bit plugin on 64-bit OS or vice-versa as the error message will indicate this mistake clearly.


Home > CentOS > CentOS 6.x > Desktop tools > Firefox > Installing java plugin for firefox