Index

wrapper.java.additional.auto_bits

Compatibility :3.3.5
Editions :Professional EditionStandard EditionCommunity Edition
Platforms :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/Linux

JVMs on some platforms are designed to operate in either 32-bit or 64-bit modes controlled by a "-d32" or "-d64" parameter passed on the Java command line. When running with 32-bit or 64-bit versions of the Wrapper, it is often convenient to have this parameter set automatically. This parameter has been included in the default Wrapper configuration file but is disabled by default for backwards compatibility.

Example:
wrapper.java.additional.auto_bits=FALSE

NOTE

The "-d32" or "-d64" parameters will be set on Mac OSX, FreeBSD, HP-UX, and Solaris platforms. On other platforms, the parameter is currently ignored as the standard JVM implementation on those platforms do not expect the "-d32" or "-d64" parameters.

NOTE

Since Wrapper version 3.5.41 the auto_bits functionality has been disabled for Java 9 and above (the property is ignored). Deprecated in Java 9, the "-d32" or "-d64" options were removed in Java 10 and caused the Java launcher to fail with a fatal exception.

wrapper.java.additional.auto_bits.<platform>

Compatibility :3.5.15
Editions :Professional EditionStandard EditionCommunity Edition
Platforms :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/Linux

With this property, it is possible to activate/deactivate the auto_bits functionality individually on certain supported platforms. If the property for a platform isn't specified, the default value will be the value of wrapper.java.additional.auto_bits.

The supported values for <platform> are:

  • solaris

  • macosx

  • freebsd

  • hpux

Example (turning off the auto_bits, except for Mac OSX):
wrapper.java.additional.auto_bits=FALSE
wrapper.java.additional.auto_bits.macosx=TRUE

NOTE

Like wrapper.java.additional.auto_bits, these properties are ignored for Java 9 and above.