Solaris Java Plug-in User's Guide

Setting Environment Variables

With multi-user systems, you set environment variables in each user's environment in one of the following locations:

When to Set Environment Variables

You set environment variables for Java Plug-in in the following situations:

Setting the Plug-in Path

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.

Note -

If you install a plug-in in the same location as Netscape Communicator, Netscape defaults to that plug-in.

Table 2-2 Setting the Plug-in Path
 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

Note -

You must include the directory of the plug-in you want to use as the first directory in the plug-in path.

Setting the Path of a Non-Default JRE

You use the NPX_JRE_PATH environment variable to specify the use of a non-default JRE with Java Plug-in.

Note -

Sun does not support the use of any JRE less than 1.2.1_03 with Java Plug-in 1.2.

Table 2-3 Setting the JRE Path
 Shell Command
csh% setenv NPX_JRE_PATH [new JRE location]
sh or ksh% NPX_JRE_PATH [new JRE location]
 % export NPX_JRE_PATH