Environment variables defined in the Generic Java Driver that can be used in Java code
The Generic Java Driver always includes these "defines" for the JVM. They are available in Java at any time through the system properties as used with environment variables:
-
THREADNAME
: Driver thread name. ROOTPATH
: Install directory path.SITEPATH
: Site directory path.PROCESSPATH
: Thread process directory path.PROCESSNAME
: Running driver process name.-
USERECOVERY
: TRUE/FALSE from thread properties for recovery database use.
Note: On Windows, the environment
variables are set at the time the engine process starts. They cannot be modified later.
The JVM can only see and use what was set for the process. You must use "defines" in the
configuration file instead of environment variables for all drivers sharing a JVM when
the first driver starts.