Follow these steps to install the Java Plugin product:
| Notes:
- Supported browsers - Only Mozilla, Netscape 4.x, or Firefox 1.x may
be registered with Java Plugin.
- Unregister previous Java plugin - Only one Java Plugin
can be registered at a time with a given browser. When you want
to use a different version, unregister any other versions and
register the new one.
If using Mozilla, registration is done by creating a symbolic
link; to unregister it, remove the link from the Mozilla plugins
directory.
Mozilla Example to Unregister Java Plugin:
Suppose you created a symbolic link in the Mozilla plugins
directory to:
<JRE>/plugin/sparc/ns7/libjavaplugin_oji.so
Then cd to the Mozilla plugins
directory and remove the link as shown here:
rm libjavaplugin_oji.so
Also check that there are no links in the Mozilla components
directory.
|
1. Do
step 1a for Netscape browsers or 1b for Mozilla browsers or 1c for Firefox.
1a.
For Netscape 4.x browsers, set the NPX_PLUGIN_PATH
environment variable to the directory containing the javaplugin.so
file.
On the SPARC processor platforms, the default location of javaplugin.so
for the package installation is in this directory:
/usr/java/jre/plugin/sparc/ns4/
On Intel platforms, the default location is this directory:
/usr/java/jre/plugin/i386/ns4/
| Notes:
1. The location of the Plugin (javaplugin.so) should
be given with an absolute pathnot relative to the installation
location of the JRE.
2. Setting NPX_PLUGIN_PATH will override the default
search path used by the browser. Therefore any plugin directories
that the browser currently searches for plugins should also be
added to the path. |
Example
To set the NPX_PLUGIN_PATH environment variable for the
SPARC processor platform (C shell), do this:
setenv NPX_PLUGIN_PATH /usr/java/jre/plugin/sparc/ns4
1b.
For Mozilla browsers, create a symbolic link to the Java Plugin in
the Mozilla plugins directory.
On the SPARC processor platform, change directories to the Mozilla plugins directory,
then create a symbolic link to the Java Plugin libjavaplugin_oji.so
file
cd <Mozilla>/plugins
ln -s <JRE>/plugin/sparc/ns7/libjavaplugin_oji.so
On the Intel processor platform, change directories to the Mozilla plugins directory,
then create a symbolic link to the Java Plugin libjavaplugin_oji.so
file
cd <Mozilla>/plugins
ln -s <JRE>/plugin/i386/ns7/libjavaplugin_oji.so
Example
SPARC processor platform
cd /programs/mozilla/plugins
ln -s /programs/jdk1.6.0/jre/plugin/sparc/ns7/libjavaplugin_oji.so
Intel processor platform
cd /programs/mozilla/plugins
ln -s /programs/jdk1.6.0/jre/plugin/i386/ns7/libjavaplugin_oji.so
1c.
For Firefox, create a symbolic link to the Java Plugin in
the Firefox plugins directory and install the Firefox JavaConsole extension.
On the SPARC processor platform, change directories to the Firefox plugins directory,
then create a symbolic link to the Java Plugin libjavaplugin_oji.so
file
cd <Firefox>/plugins
ln -s <JRE>/plugin/sparc/ns7/libjavaplugin_oji.so
On the Intel processor platform, change directories to the Firefox plugins directory,
then create a symbolic link to the Java Plugin libjavaplugin_oji.so
file
cd <Firefox>/plugins
ln -s <JRE>/plugin/i386/ns7/libjavaplugin_oji.so
If you install Firefox 1.5 or later, you can enable the Java Console menu item
in the Tools menu. Change directories to the Firefox extensions directory, then unzip
ffjcext.zip there.
cd <Firefox>/extensions
unzip <JRE>/lib/deploy/ffjcext.zip
Example
SPARC processor platform,
cd /programs/firefox/plugins
ln -s /programs/jdk1.6.0/jre/plugin/sparc/ns7/libjavaplugin_oji.so
cd /programs/firefox/extensions
unzip /programs/jdk1.6.0/jre/lib/deploy/ffjcext.zip
Intel processor platform,
cd /programs/firefox/plugins
ln -s /programs/jdk1.6.0/jre/plugin/i386/ns7/libjavaplugin_oji.so
cd /programs/firefox/extensions
unzip /programs/jdk1.6.0/jre/lib/deploy/ffjcext.zip
2. Restart
your browser.
If you have other Mozilla/Netscape windows open (Messenger, Composer,
...) you will need to shut them down as well before restarting your
browser
3. Check that
the Java Plugin is installed.
In Mozilla do Help -> About Plugins to confirm that
the Java Plugin is loaded.
In Firefox, type about:plugins in the Location bar to confirm that the Java Plugin is loaded.
If the version is Firefox 1.5 or later, click the Tools menu to confirm that Java Console
is there.
|