Installing Java Plugin on Mozilla Firefox – Linux (ubuntu)
Java Applets are used on web pages for better interactions like online games, widgets like analog watches and many more. The main advantage of Java is that it can be run on any platform like Windows, Linux, Mac and many other. Java applets are run by the Java Plugin installed with your web browser.
If you have Java installed on your computer, you may also have plugin installed for popular browser like IE and Mozilla Firefox, but this generally happen on Windows. I experienced recently while working on Ubuntu that even though i had java installed on my machine, I was not able to run Java Applet in my web browser and it was asking for plugin installation.
If you have java installed, follow instructions below for installing java plugin for Mozilla Firefox (If do not have java installed, first install Java)
1. Find Java installation directory and find plugin: Find path to Java installation directory. You can find it by checking .bashrc file for JAVA_HOME or by running find command for java.
on my system (Ubuntu 9.04) it was at /usr/lib/jvm/java-6-sun
Go to java_directory/jre/plugin/i386/ns7 and see if you have libjavaplugin_oji.so file there.
2. Find Mozilla Plugins directory: Mozilla Plugins directory should be one of the below if you are using Ubuntu.
/usr/lib/mozilla/plugins/
/usr/lib/mozilla-firefox/plugins
3. Make symbolic (soft) link of plugin in Firefox plugin directory: Execute following command for making symbolic link
# ln -s java_path//jre/plugin/i386/ns7/libjavaplugin_oji.so mozilla_plugins_dir/libjavaplugin_oji.so
Restart Mozilla Firefox and you will now be able to run Java applet with in your browser.
For more information visit : http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox
Most Commented Posts
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Finally a solution, now Firefox plugin runs correctly.
Thank you for writing this good resolution.