Then you did not get the sun java rpm installed, hence your problem.
It is not that hard,
Download the jre-1_5_0_06-linux-i586-rpm.bin file.
Become root by running the su command and entering the super-user password.
Change directory to where the downloaded file is located and type;
chmod a+x jre-1_5_0_06-linux-i586-rpm.bin
./jre-1_5_0_06-linux-i586-rpm.bin
Note that the initial "./" is required.
Agreed to the license (type yes)
Type; cd /usr/lib/browser-plugins
Type;
Code:
ln -s /usr/java/jre1.5.0_06/plugin/i386/ns7/libjavaplugin_oji.so ./libjavaplugin_oji.so
To verify installation and the symbolic link type;
cd
rpm -qa 'jre*'
locate libjavaplugin_oji.so
Expected sample results;
$ rpm -qa 'jre*'
jre-1.5.0_06-fcs
$ locate libjavaplugin_oji.so
/usr/lib/mozilla/plugins/libjavaplugin_oji.so
(Note yours should be /usr/lib/browser-plugins here)
/usr/java/jre1.5.0_06/plugin/i386/ns7/libjavaplugin_oji.so
/usr/java/jre1.5.0_06/plugin/i386/ns7-gcc29/libjavaplugin_oji.so