Java Runtime
The following parameters apply to the Java runtime used by the
executable:
- Minimum JVM version. This indicates the baseline JRE
version required by the application. For example, if the JRE
installed on the target machine is 1.2, but the minimum version
required is 1.3, then the executable will display an error message
and exit. This argument only applies if JVM DLL is left
blank i.e. if you did not bundle a specific JRE with your
application.
- JVM DLL path. When this parameter is left blank, the
executable will automatically look for a suitable JRE on the target
system. However if you are bundling a specific JRE with your
application, you can specify the relative path to the JVM DLL eg.
jre\bin\hotspot\jvm.dll. Multiple JVM DLLs can be specified
by delimiting the pathnames with semi-colons.
- JVM search order. By default, the executable will use
the private JRE if one is available. Otherwise, it will search for
a suitable Java Runtime Environment (JRE) on the target machine. If
that fails, then it will search for a suitable Java Developer Kit
(JDK). You can change the order of search, as well as restricting
the search to only the JRE or JDK.
Please refer to How NativeJ
searches for a suitable JDK/JRE for more information on this
topic.
- JVM options. The options to pass to the JVM eg.
-mx128m. Note that some options are JVM-specific and may not
work across all JVMs.
- If Java runtime cannot be found. Display error message
(customizable under Messages), launch
custom URL in default browser, and/or run an external application
if a suitable JRE cannot be found.