Previous Next Contents Index


B


Environment Variables

This appendix explains the environment variables required by the Java Dynamic Management Kit.


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.


Environment Variables for the Solaris Operating Environment

Environment Variable
Add

CLASSPATH

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
  • $JAW_HOME/examples/classes
  • PATH

    All of the following:

  • $JAVA_HOME/bin
  • $JAW_HOME/bin
  • LD_LIBRARY_PATH

    $JAW_HOME/lib/Solaris/sparc/2.x/lib


    Using the Supplied Shell Script

    Running the shell script /etc/opt/SUNWconn/jaw/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 run 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, running the script does not change them.


    Default Values Set by the jaw.env Script

    Environment Variable
    Default Setting

    JAW_HOME

    /opt/SUNWconn/jaw

    JAVA_HOME

    /usr/java


    The script also modifies the remaining variables required by the Java Dynamic Management Kit as shown in TABLE B-1.


    Windows NT 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.

    During installation, the JAW_HOME environment variable is set automatically to installDir\SUNWconn\jaw,where installDir is the directory under which you installed the Java Dynamic Management Kit.

    PATH and CLASSPATH

    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.

    Modify these environment variables as shown in TABLE B-3.


    Environment Variables for the Windows NT Environment

    Environment Variable
    Add

    CLASSPATH

    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
  • %JAW_HOME%\examples\classes
  • PATH

    %JAW_HOME%\bin


    Using the Supplied Batch File

    Running the installDir\SUNWconn\jaw\etc\conf\jaw.env.bat batch file modifies the environment variables required by the Java Dynamic Management Kit as shown in TABLE B-3. They are set only temporarily in the shell window in which you run the batch file.

    To modify these environment variables permanently, use the System Properties option from the Control Panel.



    Copyright 1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California 94303 U.S.A.
    Copyright in French

    Previous Next Contents Index