
Create an Internet Phone #63
Chapter 8, Desktop Programs
|
197
HACK
a plugins directory. To enable Java support in Firefox, you need to create a
symbolic link inside your Mozilla plug-ins directory. The actual file in the
JRE that you are linking to is libjavaplugin_oji.so. You can create this link by
going to your Mozilla plug-ins directory in your home directory (this should
be .mozilla/plugins or .firefox/plugins), and type in the following command:
foo@bar:~$ ln -s /sources/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
This command assumes your JRE is in /sources/jre; you will need to adjust it
for the actual directory on your machine. One point to note is that inside the
/sources/jre/plugin/i386 directory are a number of subdirectories which cor-
respond to different versions of Netscape. The ns610-gcc32 directory con-
tains the correct plug-in for recent versions of Mozilla-based browsers (such
as Firefox). If you want to make Java support available to every user on the
system, you will need to make the symlink available in the system Mozilla
plugins directory (such as /usr/lib/mozilla-firefox/plugins) as opposed to a
particular user’s plug-ins directory.
You can check that your installation works by typing this into the address
bar:
about:plugins
You should see a number of lines showing that Java support is working.
Then you can test the installation by accessing a web site that uses Java, ...