what browser ??
i can only give my example and my systems a little strange
basically you have to make a symbolic link in the mozilla and/or firefox plugin drectory
that points to the java plugin
mine is
/opt/firefox-0.8/lib/mozilla-1.6/plugins/libjavaplugin_oji.so -> /opt/j2sdk/j2sdk-precompiled/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
i have another link in /usr/lib/mozilla-1.6/plugins
put one for each browser
do
ln --help
for the syntax for making links
generally do
ln -s TARGET [LINK_NAME]
make sure you don't get target and linkname reversed or you errase something important
opera is a little different for old 6 or pre 6 versions you put the path to jre/plugin/i386/ns4
in the plugins config thing