So, you’ve installed Java on your machine, but your Chrome, Chromium or Firefox browser doesn’t recognize it. Here’s how to enable Java plugin for Chrome, Chromium and Firefox in Ubuntu.
All you need to do is just creating a symbolic link of
libnpjp2.so. You can find it in your Java home directory, mine is
Go to your Mozilla home directory, mine is
~/.mozilla and create new directory named
Then go to
Now, after you’re get in the
~/.mozilla/plugins directory, execute this command to create a symbolic link:
ln -sv /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so .
The output should be something like this:
`./libnpjp2.so' -> `/usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so'
It’s done. Restart your Chrome, Chromium or Firefox browser. Then you can test whether Java is working on your computer by go to this link: