Using the Create JRE VM Pack Wizard

InstallAnywhere 2020 SP2

InstallAnywhere enables you to create a JRE VM pack for any platform.

Note:You can also use the Create JRE VM Pack Wizard as a standalone tool on a machine where InstallAnywhere is not installed. To learn how, see Running the Create JRE VM Pack Wizard as a Standalone Tool.

To create a VM pack using the Create JRE VM Pack Wizard:

1. In the Advanced Designer, on the Tools menu, click Wizards, then click Create JRE VM Pack. The Create JRE VM Pack Wizard opens.
2. Click the Choose button next to Choose directory where VM is installed and browse to the directory that contains the VM. This directory must be named jre. For more information, see Directory Name Requirement for Preparing a JRE VM Pack.
3. Click the Choose button next to Choose destination folder and browse to the directory where you want to store the new VM pack.
4. In the Platform list, select the platform of this new VM pack.

Note:If the platform that you select does not match the platform of the selected JRE/JDK, the files that are used to create the VM pack are not cleaned up correctly, and the destination folder will contain extra files that are not part of the VM pack.

5. In the Choose a name for VM pack setting, enter a name to uniquely identify the new VM pack.
6. Click the Next button.

InstallAnywhere creates the JRE VM pack.

To display the VM pack in the InstallAnywhere interface for use:

1. Close InstallAnywhere.
2. Copy the .vm file into the resource/installer_vms subdirectory of the InstallAnywhere installation directory.
3. Open a project in the InstallAnywhere Advanced Designer.

When you open the Advanced Designer in InstallAnywhere, the added VM pack is now listed in the VM to Bundle with Installer list on the Build Targets tab in the Build Installers view of the Build page.