Launcher Wizard: Choose Preferred VM


  In this step of the launcher wizard, you can configure the preferred VM that install4j will choose to invoke your application. This setting only influences the choice of the VM type after a JRE has been selected according to the search sequence. The search sequence for the JRE is specified on the Java Version tab of the General Settings step.

Note: this advanced option screen is reachable by selecting the "Java invocation" step and choosing "Preferred VM" from the Advanced options popup menu or by clicking directly on the index.

  After install4j finds a suitable JRE or JDK, it tries to honor the setting you make in this step. You can select one of the following:
  • Default VM
    install4j will use the default VM for the found JRE.
  • Client hotspot VM
    install4j will try to use the client hotspot VM for the found JRE. This is equivalent to using the -client switch when invoking java from the command line.
  • Server hotspot VM
    install4j will try to use the server hotspot VM for the found JRE. This is equivalent to using the -server switch when invoking java from the command line.

Please note that it is not an error if the selected JVM is not present for the found JRE. install4j will simply use another JVM to launch your application in that case.