General settings - Java version

## General settings - Java version |
previous | up | next

On this tab of the general settings steps you enter the version requirements and the search sequence for the JRE or JDK that your application launchers will be started with on the target system.

| In the `Java version` section, you can constrain the version of the Java VM that can be used to start the application launchers. The minimum Java version must be specified. For example, enter a value of `1.3`. The maximum Java version can optionally be specified. For example, enter a value of `1.4`. 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`.

| The search sequence list shows all search sequence entries that have been added so far. For new configurations, a default search sequence is pre-defined. install4j has a special mechanism which allows you to bundle JREs with your media files. If you choose a particular JRE for bundling in one of the media file wizards, this JRE will always be used first and you do not need to adjust the search sequence yourself. If you have problems with JRE detection at runtime, please see the help page on error handling for a description on how to get diagnostic information. The following types of search sequence entries are available: Search registry Directory Environment variable The control buttons on the right allow you to modify the contents of the search sequence list: Add search sequence entry (key `INS`) Invokes the search sequence entry dialog. Upon closing the search sequence entry dialog with the [Ok] button, a new search sequence entry will be appended to the bottom of the search sequence list. Remove search sequence entry (key `DEL`) Removes the currently selected search sequence entry without further confirmation. Also available from the context menu. Move search sequence entry up (key `ALT-UP`) Moves the selected search sequence entry up one position in the class path list. Also available from the context menu. Move search sequence entry down (key `ALT-DOWN`) Moves the selected search sequence entry down one position in the class path list. Also available from the context menu.

A build will not be possible until all required fields have been completed. If a required field is missing when starting a build, this tab will be displayed with a warning message.