Default environment variables
You can configure environment variables in your Open Liberty
server.env file to customize the Open Liberty environment. The properties are set in
For more information about configuring the
server.env file, see Server configuration overview: server.env.
The following table lists the default Open Liberty environment variables and gives a brief description for each variable:
Specifies which Java runtime environment (JRE) to use. If this variable is not set, the system default is used.
Specifies a list of command-line options, such as system properties or -X parameters, that are passed to the JVM when the server starts. Any values that contain spaces must be enclosed in quotation marks.
Specifies the directory that contains the log file. The default value is
Specifies the log file name. This log file is used only if the server start command is run in the background through the start action.
Specifies the directory that contains output files from the JVM that the server uses, such as the
Specifies the directories that contain files to be loaded as configuration variables. The default value is
Specifies the user or custom configuration directory that is used to store shared and server-specific configuration. See the
Specifies the directory that contains output files for defined servers. This directory must have both read and write permissions for the user or users who start servers. By default, the server output logs and work area are stored at the
Specifies the port to use for running the server in debug mode. The default value is
Specifies whether to suspend the JVM on startup. Set this variable to
Specifies whether to allow remote debugging. Set this variable to