Installing java plugin for firefox
From Notes_Wiki
<yambe:breadcrumb>Firefox configuration</yambe:breadcrumb>
Installing java plugin for firefox
Follow these steps for installing java plugin in firefox in CentOS
- 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.
- Install JRE and run 'updatedb'.
- Then locate file 'libnpjp2.so'.
- 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.
- Now do
- ln -s <full_path of libnpjp2.so> .
- in correct plugins directory.
- 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.
<yambe:breadcrumb>Firefox configuration</yambe:breadcrumb>