
Section 2: Installing and Configuring Java on Linux
Unregistering a Java Plug-in 13
UNREGISTERING A JAVA PLUG-IN
If applicable, uninstall the previous installation of the Java Plug-in. Depending upon the
version, one or more of these files must be deleted.
• rm -fr $HOME/.netscape/java
• rm $HOME/.netscape/plugins/javaplugin.so
• rm $HOME/.netscape/plugins/libjavaplugin.so
Before either manual or automatic registration of the new Java Plug-in, you must
unregister other versions of installed Java Plug-ins. If you need to unregister an earlier
version of the Plug-in, you must do so manually.
• If you used regxpcom to register a Java 1.4.0 Plug-in, use the following command:
regxpcom -u <absolute path to Java Plug-in
libjavaplugin_oji140.so file>
For example: regxpcom -u ${JRE}/plugin/i386/ns600/
libjavaplugin_oji140.so
• If you registered a Java 1.4.0 Plug-in with a symbolic link, remove the link from the
Netscape Plug-ins directory.
For example, suppose for JRE 1.4.0 you created a symbolic link in the Netscape 6
plugins directory. In Linux, this would appear as follows:
~/j2sdk1.4.0/jre/plugin/i386/ns600/libjavaplugin_oji.so
Change directory (cd) to the Netscape 6 Plug-ins directory and remove the following
link: rm libjavaplugin_oji140.so
Also check that there are no links in the Netscape components directory.
• If you need to unregister a 1.4.1 Plug-in registered with one of the recommended
schemes, do so as follows:
• If the Plug-in was registered using the ns4 method, remove the environment
variable NPX_PLUGIN_PATH that you set.
• If the Plug-in was registered using the ns610 method, you can use the -u option
with the script.
When you are done, check that all Plug-ins have been unregistered.
Comentarios a estos manuales