JRE VM Pack Structure

InstallAnywhere 2020 SP2

VM packs are stored as archives with a .vm extension. VM packs contain a VM archive (vm.zip or vm.tar.Z) and a vm.properties file.

The structure and contents of the JVM archive inside the VM pack vary between Windows-based, OS or OS X–based, and UNIX-based systems.

VM Pack Structure for Different Platforms

Platform

VM Pack Structure

Windows VM Packs

Windows.vm

  |-vm.properties

  |-vm.zip

    |-bin

      |-java

    |-lib

OS or OS X VM Packs

.vm

  |-vm.properties

  |-vm.zip

    |-jre

      |-Contents

        |-home

          |-bin

            |-java

          |-lib

UNIX VM Packs

unix.vm

  |-vm.properties

  |-vm.tar.Z

    |-jre

      |-bin

        |-java

      |-lib

Support for VM Packs With Nested JRE Folders

In addition to supporting normal VM pack structure, InstallAnywhere also supports VM packs that have nested JRE folders (such as jre/jre/bin).

The following table lists the VM pack structure for VM packs that have nested JRE folders.

VM Pack Structure for VM Packs with Nested JRE Folders

Platform

VM Pack Structure

Windows VM Packs

Windows.vm

  |-vm.properties

  |-vm.zip

    |-jre

      |-bin

        |-java

      |-lib

UNIX VM Packs

Unix.vm

  |-vm.properties

  |-vm.tar.Z

    |-jre

      |-jre

        |-bin

          |-java

        |-lib

Important:Only one level of nesting of JRE folders is supported.

See Also