Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
UNTITLED()			      LOCAL			      UNTITLED()

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 spec-
	     ified.   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  invoca-
	     tions of the specified java programme.

     JAVAVM_OPTS_JAVA_HOME_DIR_JAVA_PROG
	     The  contents of this variable are passed as options to the invoca-
	     tion of the specified java programme within the specified JAVA_HOME
	     directory.  This allows the options to only affect  a  single  pro-
	     gramme.

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 in-
     stalled by the Diablo  JDK  would	run  with  the	options  "-XX:+UseMembar
     -deprecation -Xlint" (although not necessarily in that order).

SEE ALSO
     javavm(1)

FreeBSD ports 15.quarterly	  May 28, 2006		     JAVAVM_OPTS.CONF(5)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=javavm_opts.conf&sektion=5&manpath=FreeBSD+Ports+15.1.quarterly>

home | help