DragonFly On-Line Manual Pages

Search: Section:  


JAVAVM_OPTS.CONF(5)      DragonFly File Formats Manual     JAVAVM_OPTS.CONF(5)

NAME

javavm_opts.conf - the Java VM wrapper options configuration file.

DESCRIPTION

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.

FILES

/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.

EXAMPLES

JAVAVM_OPTS_diablo_jdk1_5_0=-XX:+UseMembar Run the Java VMs installed by the Diablo JDK in /usr/local/diablo-jdk1.5.0 with the option "-XX:+UseMembar". JAVAVM_OPTS_javac=-deprecation Run the javac programme with the option "-deprecation". JAVAVM_OPTS_diablo_jdk1_5_0_javac=-Xlint Run the javac installed by the Diablo JDK with the option "-Xlint". Due to stacking, if the above three variables were set, then the javac installed by the Diablo JDK would run with the options "-XX:+UseMembar -deprecation -Xlint" (although not necessarily in that order).

SEE ALSO

javavm(1) DragonFly 6.5-DEVELOPMENT May 28, 2006 DragonFly 6.5-DEVELOPMENT

Search: Section: