Java Dynamic Management Kit 3.2 Programming Guide
[ Previous ][ Fast Back ]Appendix B. Environment Variables and System Properties[ Fast Forward ][ Next ]

Solaris Operating Environment

JAW_HOME

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.

PATH, CLASSPATH and LD_LIBRARY_PATH

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:

  • $JAW_HOME/classes/jawco.jar

  • $JAW_HOME/classes/jawag.jar

  • $JAW_HOME/classes/jawcl.jar

  • $JAW_HOME/classes/jawcs.jar

  • $JAW_HOME/classes/jawtk.jar

Or just this one:

  • $JAW_HOME/classes/jawall.jar

PATH

All of the following:

  • $JAVA_HOME/bin

  • $JAW_HOME/bin

LD_LIBRARY_PATH

$JAW_HOME/lib/SunOS/sparc/5.x/lib

Using the Supplied Shell Script

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.


[ Previous ][ Home ][ Next ]
Environment Variables and System Properties[ Up ]Windows NT Environment