User Guide
64 Server Operating System Administration Guide
Server Operating System Administration Guide
103-000148-001
August 30, 2001
Novell Confidential
Manual 99a38 July 17, 2001
To view current variable values and to set values, follow these steps:
1 To load JAVA.NLM, enter the following at the System Console prompt:
JAVA
2 To view current environment variables and variable values, enter the
following at the System Console prompt:
ENVSET
When the JAVA.NLM is loaded at the server, you can also view all the
environmental settings using NetWare Remote Manager. Click the Java
Application Information link in the navigation frame, and then click the
Global Environment Settings link.
3 To set a value for the current session, enter the following at the System
Console prompt:
ENVSET VARIABLE=VALUE;VALUE
Make sure there are no spaces on either side of the equal sign or between
values. To set multiple values for variables such as CLASSPATH,
separate the values with semicolons.
The value of a variable set with ENVSET lasts until Java is unloaded.
To append a value to the CLASSPATH variable, use $CLASSPATH to
represent the existing values.
For example:
ENVSET CLASSPATH=$CLASSPATH;SYS:MYCLASSES
4 To make lasting changes to variable values, enter the ENVSET command
line in the SYS:\ETC\JAVA.CFG file.
Environment Variable Description
JAVA HOME Specifies the location of the JVM. The
default value is SYS:\JAVA.
CLASSPATH Specifies the location of the default
classpath.
XLOCALDIR Specifies the location of files needed to
support other languages, including
keyboard and font files.