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 |