Creating a JRE VM Pack Manually

InstallAnywhere 2020 SP2

As an alternative to using the Create JRE VM Pack Wizard (as described in Using the Create JRE VM Pack Wizard), you can manually create a JRE VM pack.

To create a JRE VM pack manually:

1. Create an archive of the JRE directory.
For Windows, create a vm.zip archive. Do not use compression and do not retain full path info.
For OS or OS X, create a vm.zip archive. Do not use compression and do not retain full path info.
For UNIX, create a vm.tar.Z archive. Create a compressed tarball. For example:

tar -czvf vm.tar.Z jre

2. Create a vm.properties file. For details, see JRE VM Pack Properties.
3. Create a ZIP archive of the VM archive (vm.zip or vm.tar.Z) and the vm.properties file. For best results, use maximum compression on this archive.
4. Rename the resulting ZIP archive:

<CustomVMPack>.vm

See Also