The maximum Java version can be entered with less numeric detail than the minimum Java version to prevent the use of a higher major or minor release. For example, a minimum version of 1.4.1 and a maximum version of 1.4 ensures that the highest available 1.4.x >= 1.4.1 JRE is used, but not a 1.5 JRE. Similarly, a minimum version of 1.4.1_03 and a maximum version of 1.4.1 ensures that the highest available 1.4.1 >= 1.4.1_03 JRE is used, but not a 1.4.2 JRE.
By default, JREs with a beta version number or JREs from an early access release cycle will not be used by the launcher. If you would like to enable the use of these JREs, please check the option allow JREs with a beta version number.
If you have problems with JRE detection at runtime, please see the help topic on error handling for a description on how to get diagnostic information.
The following types of search sequence entries are available:
The control buttons on the right allow you to modify the contents of the search sequence list:
INS
)DEL
)ALT-UP
)ALT-DOWN
)By default, the rt.jar runtime library of the JRE that is is used to run the install4j IDE is used for code compilation. If your minimum Java version is lower than the the Java version used to run install4j, runtime errors can occur if you accidentally use newer classes and method.
The drop-down list next to the JDK option shows the name of all configured JDKs together with their Java versions. In order to configure a new design time JDK, select the JDK option, and click on [Configure JDKs]. This shows the Configure JDKs dialog.
The list of available design time JDK is saved globally for your entire install4j installation and not for the current project. The only information saved in your project is the name of the JDK configuration. In this way, you can bind a suitable JDK on another installation and on other platforms. If the JDK name saved in the project cannot be found in your install4j installation, the name will be displayed in red color with a "[not configured]" message attached. In that case, when clicking on [Configure JDKs], you will be asked if you would like to configure this JDK.