Please see:
http://www.linuxquestions.org/questi...d.php?t=525948
In addition it is a good idea to place the symbolic link in the /usr/lib/mozilla/plugins directory location. If need be create the directory as root;
mkdir /usr/lib/mozilla/plugins
cd /usr/lib/mozilla/plugins
ln -s /usr/java/jre1.5.0_09/plugin/i386/ns7/libjavaplugin_oji.so ./libjavaplugin_oji.so
Adjust the link line above (ln -s....) to match your actual version location of java.