How to install java plugin in Chrome and Firefox on Ubuntu 12.10
Just after install Java JRE and JDK manually via terminal in Ubuntu 12.10, I’ve realized that I have to install the browsers plugins. After a little research I’ve found that the plugins are already available in one of JRE’s subfolders and I just need to create a symbolic link to that file in a special folder that Chrome and Firefox search for plugins at boot time.
Just execute the command below and restart the browsers:
sudo ln -s /usr/local/java/jre1.7.0_12/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/libnpjp2.so
- Note that you must customize JRE path. The plugins folder should be the same in your computer.
- You can test the plugin installation in this link.
- You can verify installation details in Chrome entering chrome://plugins/ in the url.
- You can verify installation details in Firefox in menu Tools > Add-ons > Plugins.