|
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.
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.
| 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
|
On Windows systems,
it is also possible to use the JRE configuration from the system registry.
This is done by setting 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.
|