World Map
Java Service Wrapper is the easiest way to make your product more reliable.
  • Free Trial
  • Buy Now
wrapper.java.additional.auto_bits Property

Index

wrapper.java.additional.auto_bits

Compatibilidad :3.3.5
Ediciones :Edición ProfesionaEdición EstándarEdición de la Comunidad
Plataformas :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM 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

NOTA

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.

NOTA

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>

Compatibilidad :3.5.15
Ediciones :Edición ProfesionaEdición EstándarEdición de la Comunidad
Plataformas :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM 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

NOTA

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