Choose Java VM Panel Action

InstallAnywhere 2020

You can use the Choose Java VM panel action to enable end users to select which Java VM to use for any installed LaunchAnywhere launchers. You can specify whether the installer offers to install a VM that is bundled with the installer. You can also permit end users to provide additional search paths or to choose a specific VM that is available to the target system.

The Choose Java VM customizer includes controls on the following tabs:

General Settings
Image Settings, Label Settings, and Help Settings

General Settings

The General Settings tab of the Choose Java VM customizer includes the following controls:

General Settings Tab of Choose Java VM Customizer

Control

Description

Title

Enter the title of the Choose Java Virtual Machine panel of the installer. By default, the title is Choose Java Virtual Machine.

Prompt

Enter the instructions that you want to display to the end user on the Choose Java Virtual Machine panel of the installer. By default, the prompt text is Please Choose a Java VM for Use by the Installed Application.

[No check boxes selected]

If none of the following three options are selected, the Choose Java VM panel only allows the end user to choose from those valid VMs found on the project-defined paths, which are set in the Windows and UNIX areas in the Platforms view on the Project page.

Allow the end user to install the bundled VM

Makes the VM you bundle with your project available in the Choose Java VM panel.

Allow the end user to search for locations other than the paths defined under Project > JVM Settings > Search Panel Settings

Adds a Search Another Location button to the Choose Java VM panel. This button opens the Browse for Folder dialog box, which prompts your users to specify an additional search path.

Allow the end user to choose a specific Java executable

Adds a Choose Java Executable button to this panel. This button shows an Open dialog in which you users can locate the executable for a specific VM and select it as the VM your LaunchAnywhere launchers use.

The behavior of this panel can be affected by the VM Search Settings area on the General subtab (Project page > JVM Settings view > Search Panel Settings tab), and by the search paths that are specified on the Windows and UNIX subtabs (Project page > JVM Settings view > Search Panel Settings tab).

Note • The Choose Java VM panel is not shown in macOS or OS X–based installers. To force a macOS or OS X–based installer to use a different VM, use the Select Java VM for LaunchAnywhere setting in the Mac OS X area in the Platforms view on the Project page.

Image Settings, Label Settings, and Help Settings

For information on using the options on the Image Settings, Label Settings, and Help Settings tabs, see Panel Action Settings.