Background
If you’d like to add the Oracle/Sun Java plugin to Firefox under Ubuntu here’s a quick tip on how to do it.
NOTE: If you need help installing Java see my previous post, Howto Install/Setup Oracle/Sun Java 1.6.X on Ubuntu 10.10.
Solution
Simply run the following command, which creates a link to the Java plugin, thus “installing it” as a Firefox plugin.
1 2 |
cd /usr/lib/mozilla/plugins sudo ln -s /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so |
Now restart Firefox. You can test if the plugin was installed correctly here.
References
NOTE: For further details regarding my one-liner blog posts, check out my one-liner style guide primer.