Java
Java SE
Manual Installation/Registration of Java Plug-inSolaris | |
Follow these steps to install the Java Plug-in product:
|
1. Do step 1a for Netscape browsers or 1b for Mozilla browsers.
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 Plug-in (
javaplugin.so) should be given with an absolute pathnot relative to the installation location of the JRE.2. Setting
NPX_PLUGIN_PATHwill 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_PATHenvironment 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 Plug-in in the Mozilla
plugins directory.
Change directories to the Mozilla
pluginsdirectory, then create a symbolic link to the Java Plug-inlibjavaplugin_oji.sofile
cd <Mozilla>/plugins
ln -s <JRE>/plugin/sparc/ns7/libjavaplugin_oji.so .Be sure to include the period at the end.
Example:
cd /programs/mozilla/plugins
ln -s /programs/jdk1.5.0/jre/plugin/sparc/ns7/libjavaplugin_oji.so .Again, be sure to include the period at the end.
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 Plug-in is installed.
In Mozilla do Help -> About Plug-ins to confirm that the Java Plug-in is loaded.