u have to symlink the java plugin to your mozilla plugins directory
the easiest way is like this:
ln -s /path/to/javaplugin.so .
u have to symlink it, copying won't work
and as for adding it to ~/.mozilla/plugins instead of wherever u installed mozilla... this way the plugin is still installed when u upgrade ur mozilla