GNU/Linux Desktop Survival Guide
by Graham Williams
Mozilla Java Plugin
Currently it is not possible to use a free Java Virtual Machine as a Mozilla plugin because most of the free JVMs do not yet support the Java AWT (Java GUIs). So the non-free alternatives from Sun, IBM, or Blackdown are required. This is unfortunate as it means that your system becomes dependent on software that you are unable to validate and view yourself, relying on very few others to provide trustworthy code.
An installation of Java using java-package will setup the appropriate plugins for Mozilla.
To manually link in a Java plugin running with an installation of, for
example, j2sdk1.4.2_03 (from Sun and installed as
/usr/local/j2sdk1.4.2_03 as described in
Section 43.1) for Mozilla 1.5, link the appropriate
library to the mozilla plugin directory:
# cd /usr/lib/mozilla/plugins # ln -s /usr/local/j2sdk1.4.2_03/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
For firefox the procedure is the same except the link goes into /usr/lib/mozilla-firefox/plugins.