Java Plug-in 1.2 is included in the Solaris 8 base package CD and automatically installs with Solaris 8.
Java Plug-in installs in the /usr/dt/appconfig/netscape directory by default, allowing for easy mass deployment. Since you can install Java Plug-in 1.2 in a central location, all your users can access the plug-in over NFS. This installation method creates a single point of administration and makes it easy to perform future upgrades.
During the Java Plug-in 1.2 installation process, the directories and files listed in the following table are created in the installation directory.
Table 2-1 Java Plug-in 1.2 Files
Perform the following tasks to verify that the installation was successful.
Start Netscape and choose About Plug-ins from Netscape's Help menu. Make sure the following MIME types are listed for Java Plug-in:
application/x-java-bean;version=1.2.2 application/x-java-bean;version=1.2.2 application/x-java-bean;version=1.2.1 application/x-java-bean;version=1.2 application/x-java-applet;version=1.1.2 application/x-java-applet;version=1.1.1 application/x-java-applet;version=1.1 application/x-java-bean application/x-java-applet;version=1.2.2 application/x-java-applet;version=1.2.1 application/x-java-applet;version=1.2 application/x-java-applet;version=1.1.2 application/x-java-applet;version=1.1.1 application/x-java-applet;version=1.1 application/x-java-applet application/x-java-vm application/x-java-vm/java-applet |
In Navigator, type file:/usr/dt/appconfig/netscape/j2pi/ControlPanel.html in the Netsite field to open the Control Panel. The Control Panel is an applet that uses JPI. Therefore, if the Control Panel opens, the plug-in is successfully installed.
With multi-user systems, you set environment variables in each user's environment in one of the following locations:
At the command line
In a .cshrc file
In a .profile file
You set environment variables for Java Plug-in in the following situations:
You installed Java Plug-in in a location other than the default installation directory (/usr/dt/appconfig/netscape).
You installed both Java Plug-in 1.2 and 1.1.2 on your system and want to specify which plug-in to use.
You want to use a JRE other than 1.2.1_03.
You want to view Java Plug-in tracing information (see "Displaying Java Plug-in Tracing Output").
You use the NPX_PLUGIN_PATH environment variable to specify a non-default location of Java Plug-in, or, if you installed both Java Plug-in 1.2 and 1.1.2 on your system, to specify the plug-in you want to use.
If you install a plug-in in the same location as Netscape Communicator, Netscape defaults to that plug-in.
Shell | Command |
---|---|
csh | % setenv NPX_PLUGIN_PATH [path to plug-in]:$NPX_PLUGIN_PATH |
sh or ksh | % NPX_PLUGIN_PATH=[path to plug-in]:$NPX_PLUGIN_PATH |
% export NPX_PLUGIN_PATH |
You must include the directory of the plug-in you want to use as the first directory in the plug-in path.
You use the NPX_JRE_PATH environment variable to specify the use of a non-default JRE with Java Plug-in.
Sun does not support the use of any JRE less than 1.2.1_03 with Java Plug-in 1.2.
Shell | Command |
---|---|
csh | % setenv NPX_JRE_PATH [new JRE location] |
sh or ksh | % NPX_JRE_PATH [new JRE location] |
% export NPX_JRE_PATH |