javavm_opts.conf
—
the Java VM wrapper options configuration file.
The file javavm_opts.conf
contains variables which set
options that should be passed to the Java VM that is invoked by the Java VM
wrapper.
Which Java VM a variable provides options for is determined by the
variable name. The Java VM wrapper currently recognises the following
patterns for variable names:
JAVAVM_OPTS
- The options specified by this variable are passed to all Java VM
invocations. In practise, this variable should be reserved for use on the
command line and not set in
javavm_opts.conf
.
JAVAVM_OPTS_JAVA_HOME_DIR
- The contents of this variable are passed as options to all java commands
invoked by javavm within the JAVA_HOME_DIR
directory specified. The JAVA_HOME_DIR specified
here is the directory portion of
JAVA_HOME
with
special characters replaced by an underscore.
JAVAVM_OPTS_JAVA_PROG
- The contents of this variable are passed as options to all invocations of
the specified java programme.
JAVAVM_OPTS_JAVA_HOME_DIR_JAVA_PROG
- The contents of this variable are passed as options to the invocation of
the specified java programme within the specified JAVA_HOME directory.
This allows the options to only affect a single programme.
- /usr/local/etc/javavm_opts.conf
- The location of the Java VM wrapper options configuration file.
- /usr/local/etc/javavm_opts.conf.dist
- The location of the example Java VM wrapper options configuration file
distributed with the Java VM wrapper.