For the UNIX installation of Java, the Control Panel script (ControlPanel
)
can be used with various options for registering/unregistering the Java Plug-in
with the browser.The purpose of these new options is to make registering/unregistering
of the Plug-in with the browser easier and more reliable.
ControlPanel
is located as follows in the Java installation:
<java_installation>/bin/ControlPanel
The general form of the command is as follows:
ControlPanel [ ( -r scheme | -u scheme ) -c path -j path ]
-r scheme | -u scheme
: Registers or unregisters the plugin, respectively,
using the supplied scheme. Only one switch should be specified; and, if more
that one is, only the last one specified will be honored. Registration
schemes are described below.
-c path
: As indicated by path
, specifies where ControlPanel
script can find the installation location of the browser.
-j path
: As indicated by path
, specifies where ControlPanel
script can find the installation location of Java.
(Note that if no options are specified, the script will launch the Control Panel GUI.)
Scheme Name
|
Scheme Description
|
ns4E |
The browser uses the Netscape 4.x method of setting the NPX_PLUGIN_PATH
environment variable. The script returns the value that the variable should
be set to. |
ns4L |
The browser uses the Netscape 4.x method that assumes a Plugins
directory. A link is made from the directory to the Java Plug-in. |
ns4 |
In this release, the |
ns600L |
The browser uses the Netscape 6.x method that assumes a Plugins
directory. A link is made from the directory to the Java Plug-in. |
ns600 |
In this release, the ns600L scheme above is used when you
enter ns610 . However, in future releases of Plug-in this may
change and some other method of registration may be used by the script. |
ns610R |
The browser uses the Netscape 6.x method that assumes the existence of
regxpcom , which is executed on the Java Plug-in. |
ns610L |
The browser uses the Netscape 6.x method that assumes a Plugins
directory. A link is made from the directory to the Java Plug-in. |
ns610 |
In this release, the |
Suppose your home directior is /home/jones
and you have installed
Netscape 4.79 at:
/home/jones/netscape479
and you have installed the J2SE 1.4.1 SDK at:
/home/jones/j2sdk1.4.1
Then to register Java Plug-in with the browser using the method that assumes
a Plugins
directory, you would type the following at the command
line of a terminal window:
/home/jones/j2sdk1.4.1/bin/ControlPanel -r ns4l -c /home/jones/netscape479 -j /home/jones/j2sdk1.4.1
Suppose again that your home director is /home/jones
and you have
installed Netscape 6.1 at:
/home/jones/Netscape6
and you have installed the J2SE 1.4.1 SDK at:
/home/jones/j2sdk1.4.1
Then to register Java Plug-in with the browser using the regxpcom
method you would type the following at the command line:
/home/jones/j2sdk1.4.1/bin/ControlPanel -r ns610 -c /home/jones/Netscape6 -j /home/jones/j2sdk1.4.1
Suppose that have registered Java Plug-in with Netscape 6.1 and:
/home/smith
/home/smith/Netscape6
/home/smith/j2re1.4.0
regxpcom
command Then to unregister the Plug-in with the browser, you would type the following at the command line:
/home/smith/j2re1.4.0/bin/ControlPanel -u ns610R -c /home/smith/Netscape6 -j /home/smith/j2re1.4.0