| Compatibility : |
1.0.0
|
| Editions : |    |
| Platforms : |          |
The command to use when launching a JVM.
If the full path to the Java executable is not specified,
then the Wrapper will attempt to locate a Java executable on the system path.
| Example using system path: |
wrapper.java.command=java
|
| Example using JAVA_HOME environment variable: |
wrapper.java.command=%JAVA_HOME%/bin/java
|
| Example using full path (not platform independent): |
wrapper.java.command=c:/j2sdk1.4.0/bin/java
|
Not contain an extension:
It is advised that the value does not contain an extension.
Specifying a value like java.exe together with an extension
would mean that the same configuration file could not be used on Linux/Unix systems.
Windows:
On Windows systems,
it is also possible to use the JRE configuration from the system registry.
In that case, this property is required to be set to an empty value.
By default, the Wrapper will look for a Sun JRE using the default registry key.
It is possible to configure a specific JAVA_HOME location using the
wrapper.registry.java_home
property.
| Example using system registry (not platform independent): |
wrapper.java.command=
|
If the Java command is located using the Windows registry,
the JAVA_HOME value will be stored into a
WRAPPER_JAVA_HOME environment variable.
This value can then be referenced in the values of other properties.
|