Manual Installation/Registration of Java Plug-in—Solaris

Japanese

Follow these steps to install the Java Plug-in product:

Note:

Only one Java Plug-in can be registered at a time. When you want to use a different version, unregister any other versions and register the new one.

If you used regxpcom to register a Java 1.4.0 Plug-in, you can do the following to unregister it:

regxpcom -u <absolute path to Java Plug-in libjavaplugin_oji140.so file>

Example:

regxpcom -u <JRE>/plugin/sparc/ns600/libjavaplugin_oji140.so

If you registered it with a symbolic link, remove the link from the Netscape plugins directory.

Example:

Suppose for SDK 1.4.0 you created a symbolic link in the Netscape 6 plugins directory to:

<JRE>/plugin/sparc/ns600/libjavaplugin_oji140.so

Then cd to the Netscape 6 plugins directory and remove the link as shown below:

rm libjavaplugin_oji140.so

Also check that there are no links in the Netscape components directory.

1. For Netscape 4.x browsers, set the NPX_PLUGIN_PATH environment variable to the directory containing the javaplugin.so file. (This step is not necessary if you use only Netscape 6.x browsers.)

On the SPARC processor platforms, the default location of javaplugin.so for the package installation is in this directory:

/usr/j2se/jre/plugin/sparc/ns4/

On Intel platforms, the default location is this directory:

/usr/j2se/jre/plugin/i386/ns4/

 

Notes:

1. The location of the Plug-in (javaplugin.so) should be given with an absolute path—not 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/j2se/jre/plugin/sparc/ns4

2. For Netscape 6/7 and Mozilla browsers, create a symbolic link to the Java Plug-in in the Netscape plugins directory.


Create a symbolic link to the Java Plug-in libjavaplugin_oji.so file in the Netscape 6/7 or Mozilla Plugins directory.

cd <Netscape 6/7 | Mozilla>/plugins
ln -s <JRE>/plugin/sparc/ns610/libjavaplugin_oji.so .

Be sure to include the period at the end.

3. For Netscape 4.x browsers, restart your browser twice; for Netscape 6.x/7.x or Mozilla browsers, restart your browser once.

Note that if you have other Netscape/Mozilla "objects" open before restarting (Messenger, Composer ...) you will need to shut them down as well.

In Netscape do Help -> About Plug-ins to confirm that the Java Plug-in is loaded.