About the Installer’s JVM Search
InstallAnywhere 2021
After an InstallAnywhere-generated installer is launched, it searches for JVMs on the end user's system. The intent of this search is to find a JVM that is suitable for all the LaunchAnywhere launchers that your installer deploys. The criteria that are used for this search can be one of the following:
• | Criteria used in bootstrap phase—The criteria that the installer's launcher uses in the bootstrap phase (the installer valid VM list, which is set in the Advanced Designer: Project page > JVM Settings view > Installer Settings tab > Valid VM list) can be used. |
• | Criteria in lax.nl.valid.vm.list property—The criteria that are expressed in the lax.nl.valid.vm.list property of the launchers in your project can be used. If more than one launcher exists in your project, the installer searches for a JVM that meets all the JVM criteria of these launchers. |
• | Custom criteria—Custom criteria that are set specifically provided for the project's launchers can be used. You specify this criteria using the Use a specific valid VM list setting (which is set in the Advanced Designer: Project page > JVM Settings view > Search Panel Settings tab > General subtab). |
Note:The installer applies the result of this search to your launchers only when the installer includes a bundled JVM or a Choose Java VM panel. If neither is present, the search results are still available via custom code but are not applied to your project's launchers.
On Windows-based and UNIX-based target systems, InstallAnywhere also supports further refinement of the JVM search paths and search patterns (Java executable patterns). These describe the locations in which the installer searches for valid JVMs and the patterns it uses to recognize Java executable files on those platforms. For more information, see Customizing the VM Search Paths and Patterns.
Every LaunchAnywhere launcher is capable of performing an independent JVM search. For details on configuring a launcher to always perform an independent search and setting criteria for that search, see Customizing Individual Launcher Settings.
See Also