Hi
Sharing some relevant info. from
http://www.crazysquirrel.com/linux/j...d_mozilla.php:
Installing the Java Plugin into Mozilla
This is just a little help page for installing the Java plugin into Mozilla under Linux. It is specifically aimed at people running RedHat 7.3 but is probably generic enough that it will work on just about any distribution
The problem with the Java plugin under Linux is that it has to be installed manually. It would be really nice if Sun would do something about this and have it determine where to install the pluging when the JVM is installed but untill that happens here are some pointers.
There are two ways to install the plugin. Either you can install it 'locally' for a single user or 'globally' for all users. I strongly recommend installing it globally for all users, if you ever get another user you will only kick yourself when you have to repeat the job for them.
Local Install
The first thing you have to do is create the pulgin directory in your local mozilla directory. To do that run this command:
mkdir ~/.mozilla/plugins
You then have to link the Java plugin module into that directory which can be done with this command (all on one line with a space at the end of the first line):
ln -s /usr/local/java/java.current/plugin/i386/ns610/libjavaplugin_oji.so
~/.mozilla/plugins/
Now here is the tricky part. Your Java installation may not be at that path but it is likely to be somewhere similar to that. It is (probably) only the 3rd and 4th sections of the path that are likely to be different. The reason for the path structure shown here will become apparent when I write the how to install the JVM / SDK page. I realize that this is putting the cart before the horse but oh well
)
Global Install
This is really (IMHO) the preffered way to install the plugin. There are not really any security reasons why you wouldn't want it globally installed so save yourself some time and install it like this ;o)
There is one downside to installing it in this manner. You will probably need to re-link all the plugins should you ever upgrade mozilla (something you will probably do with frightening regularity).
The instructions for a global install a basically the same as for a local install except in this case the plugin directory is already in place. Simply link as follows (all on one line with a space at the end of the first line):
ln -s /usr/local/java/java.current/plugin/i386/ns610/libjavaplugin_oji.so
/usr/local/mozilla/plugins/
As stated in the "Local Install" section your Java install may not be in this location. If it isn't have a read of the above note. What you also may notice is that your plugins directory is not at this location. Mozilla normally installs at /usr/local/mozilla but if you have moved it you will need to enter a new path. In my case I tend to install mozilla into a directory the includes is version number so for instance 1.4 goes into /usr/local/mozilla1.4/
Note: If you have installed mozilla on Debian or via a .deb package then the mozilla plugins will be located at /usr/lib/mozilla/plugins/
Post Install Testing
Now that you have got the plugin installed you can test it by going to about
lugins in mozilla (just enter it in the address bar). You will see a list of all currently installed plugins. Alternativly go to a web site that contains a java applet. I normally use the bbc news site for this test (the front page has a Java news ticker).