Ubuntu: Getting Java Applets to work with Firefox

I was having problem to get Applet working in Firefox, primarily because I work with manually installed JDKs (that is not downloaded using apt-get). I did the following to get Applets working going through the following procedure.

locate libjavaplugin_oji.so

After I do this I will get the list of this file present in my machine. In my case one of the paths was -


Now I did the following and restarted my machine -

sudo ln -s /opt/jdk1.6.0_01/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla-firefox/plugins/libjavaplugin_oji.so
After this I got applets to work in Mozilla Firefox. Just for fun delete the symlink and without restarting the browser check whether you can see the applet or not :).


  1. Hmm.... In my case it cause only that firefoz died everytime I enter page with some aplet.

  2. That's a known bug in Ubuntu firefox....install Opera and they will work perfectly

  3. Thank you for sharing with good, useful information. Currently mobile technologies are the most used in android development that needs in development of mobile software solutions for cells.