Installing the Bundled JVM Only When No Valid JVM Exists
InstallAnywhere 2021
In some cases, you may want the VM that you are bundling with your installer to be installed only when the installer fails to find a VM on the target system that matches the VM search criteria in your project.
To install your bundled VM only when no compatible VM exists on the target system:
1. | In the Advanced Designer, on the Project page, click JVM Settings. The JVM Settings view opens. |
2. | Click the Installer Settings tab. |
3. | Select the Only when a compatible VM is not found in the system check box. |
This approach gives priority to the installer’s VM search—the search that the installer performs to find a suitable VM for the launchers that the installer deploys. The criteria for this search depend on how you configure the VM search settings on the subtabs of the Search Panel Settings tab. The Search Panel Settings tab is available in the JVM settings view on the Project page.
Note:For more information on these settings, see Customizing the VM Search Settings for Your Launchers and Customizing the VM Search Paths and Patterns.
If the VM search succeeds, the installer does not install the bundled VM. If the search fails to locate a compatible VM, the installer installs the bundled VM.
See Also