In most cases, the EAServer installer sets the environment variables that are required to run the server. If your system requires configuration, use the methods described below.
Configuring environment variables
Edit the local-setenv.sh (UNIX) or local-setenv.bat (Windows) file in the EAServer bin subdirectory.
local-setenv.sh or local-setenv.bat is read when you start the server.
Set environment variables such as CLASSPATH, JAVA_HOME, and DJC_JVM_OPTIONS.
By default, EAServer uses the JVM defined by the java command. To specify which JVM to use, set the DJC_JVM_OPTIONS environment variable to one of the following:
-server – HotSpot Server VM.
-client – HotSpot Client VM.
You can also set DJC_JVM_OPTIONS using the Management Console—see Java Start-up Options in Table 3-1.
To set Java logging options, see “Configuring system logging”.
Pass values directly to the Java VM by specifying arguments for DJC_USER_JVM_ARGS; for example, on UNIX:
DJC_USER_JVM_ARGS="-Dfoo=bar" export DJC_USER_JVM_ARGS
On Windows:
set DJC_USER_JVM_ARGS="-Dfoo=bar"
You can also set these arguments on the command line.