Java Dynamic Management Kit 3.2 Programming Guide | ||||
---|---|---|---|---|
![]() | ![]() | Appendix B. Environment Variables and System Properties | ![]() | ![]() |
The JAW_HOME environment variable specifies the home directory of your Java Dynamic Management Kit installation. JAW_HOME is required by the Java Dynamic Management Kit.
If you did not install the Java Dynamic Management Kit software packages in the default location, set it to installDir/SUNWconn/jaw, where installDir is the directory under which you installed the Java Dynamic Management Kit software packages.
The CLASSPATH environment variable tells the Java virtual machine where to find the class libraries, such as the jawag.jar file.
The PATH environment variable specifies the location of executable files, for example, the job tool and the mogen compiler.
The LD_LIBRARY_PATH environment variable specifies the location of native libraries, for example, the libstat.so kernel statistics library.
Modify these environment variables as shown in Table B-1.
Table B-1. Environment Variables for the Solaris Operating Environment
Environment Variable | Add |
---|---|
CLASSPATH | Any or all of the following:
Or just this one:
|
PATH | All of the following:
|
LD_LIBRARY_PATH | $JAW_HOME/lib/SunOS/sparc/5.x/lib |
Sourcing the shell (sh) script installDir/SUNWconn/jaw/etc/conf/jaw.env sets the environment variables required by the Java Dynamic Management Kit. They are set only temporarily in the shell window in which you source the script.
The script sets environment variables to default values as shown in Table B-2 if they are not already defined in your environment. If they are already defined in your environment, the script does not change them.
Table B-2. Default Values Set by the jaw.env Script
Environment Variable | Default Setting |
---|---|
JAW_HOME | /opt/SUNWconn/jaw |
JAVA_HOME | /usr/java1.2 |
The script also modifies the remaining variables required by the Java Dynamic Management Kit as shown in Table B-1.
![]() | ![]() | ![]() |
Environment Variables and System Properties | ![]() | Windows NT Environment |