1.Download and extract the binary file jre-6u6-linux-i586.bin from java.com
#sh jre-6u6-linux-i586.bin
2, Switch to Firefox installation folder or obeviously can can choose “.mozilla” from your home directory.
#cd /home/installation/Firefox2.0/firefox/plugins
3. Create a link to jre plug ins
# ln -s /home/installation/jre1.6.0_06/plugin/i386/ns7/libjavaplugin_oji.so
4, Restart Firefox
# killall -9 firefox && firefox
5, You can verify it with the following link
http://java.com/en/download/windows_xpi.jsp?locale=en&host=java.com:80