I'm trying to manually install the Java plugin for Firefox 4 on Mac OS X v10.9 (Mavericks) (I got Firefox 4 from the PPA), but it seems the usual instructions don't work. I've tried doing both
cd ~/.mozilla/plugins
ln -s $JAVA_HOME/jre/lib/i386/libnpjp2.so .
and
cd /usr/lib/firefox
ln -s $JAVA_HOME/jre/lib/i386/libnpjp2.so .
but I still get the "missing plugin" warning in Firefox. It used to work fine for Firefox 3.6. Also, after doing the first above, Chromium is able to pick up the Java plugin without problems. In case it makes any difference I'm running Oracle's "vanilla" JDK, not the Ubuntu sun-java-6-bin
package.
If you run the Oracle Java standalone installer (
.bin
file), it will just extract the java directory from the archive. It will not create the environment variable JAVA_HOME. It is best if you extract the java archive to a folder such as/usr/java
.Next, find the folder where Firefox is installed. It will have a directory named
plugins
there. In this directory, create a soft link to the filelibnpjp2.so
.On my computer, I did with these commands. It will be different in yours.
After doing this, you can type
about:plugins
in Firefox to check the plugin availability in the browser.You can refer to this website to get the latest version of Java and the Java plugin working:
Easy Linux Tips: Install Java