JRE VM Pack Properties

InstallAnywhere 2020 SP2

Every JRE VM pack requires a vm.properties file at the root of the JRE VM pack archive.

VM Pack Properties

Property

Description

vm.platform

Sets the general platform. Available options are:

-osx
unix
windows

vm.platform.flavor

Identifies the specific platform that the VM supports. Available options are:

AIX
HP-UX
Linux
 
solaris
win32

These values are case-sensitive and must be used exactly as shown. InstallAnywhere uses the vm.platform.flavor value to determine which VMs to list for each platform. If the value that you set does not match one of the expected values, your VM pack will not appear in the VM to Bundle with Installer list on the Build Targets tab in the Build Installers view of the Build page.

vm.name

Records the VM name as it appears in the VM to Bundle with Installer list on the Build Targets tab in the Build Installers view of the Build page. For example:

SunJRE160_01iWin32.vm

vm.exe.path

Sets the path to the VM pack. Following are several examples of how to set this property for different platforms:

vm.platform=unix

vm.platform.flavor=solaris

vm.name=JavaSoft jre1.4 Sparc/Solaris

vm.exe.path=bin/java

or

vm.platform=windows

vm.platform.flavor=win32

vm.name=JavaSoft jre1.4 Win32

vm.exe.path=bin\\java.exe

or

vm.platform=-os

vm.platform.flavor=

vm.name=Sun JRE 1.7.0_25 OSX

vm.exe.path=Contents/Home/jre/bin/java

See Also