Installing the Java plugin for Firefox 3.6
I'm running Ubuntu Hardy Heron (8.04) and the Sun JVM. When I updated Firefox to 3.6 I lost my capability to run Java applets and launch Java applications using JNLP. A quick check with “about:plugins” confirmed that the browser wasn't loading the Java plugin.
A quick search on the Ubuntu forum pointed me to http://buck-nasty.blogspot.com/2010/02/installing-firefox-36-and-java-618.html. I quickly realized that the browser plugin recommended on most of the search results is wrong: it's not libjavaplugin.so nor libjavaplugin_oji.so.
If you've installed the Sun JVM (jdk6u18) in /usr/lib/jvm/java-6-sun/ then you should create a symlink to /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so in your .mozilla/plugins/ directory.
Yes, I know about the
A quick search on the Ubuntu forum pointed me to http://buck-nasty.blogspot.com/2010/02/installing-firefox-36-and-java-618.html. I quickly realized that the browser plugin recommended on most of the search results is wrong: it's not libjavaplugin.so nor libjavaplugin_oji.so.
If you've installed the Sun JVM (jdk6u18) in /usr/lib/jvm/java-6-sun/ then you should create a symlink to /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so in your .mozilla/plugins/ directory.
cd ~/.mozilla/plugins
ln -s /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so .
Yes, I know about the
/etc/alternatives
scheme. I don't understand it very well yet (and any education is welcome) so I didn't want to obscure what worked for me with misunderstood concepts.