I'm installing java in /usr/java/ folder please install it in your preffered path. Then do following three steps.
- Open Terminal
- Change to your Firefox plugins directory (For me path is : /usr/lib/firefox/plugins)
- Issue the following command: sudo ln -s /usr/java/jre1.6.0_03/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
Above installation path can be differ from your installation and jre version also can be differ.
Finally restart your Firefox browser