On this tab of the General Settings step you enter the version requirements and the search sequence for the JRE or JDK that apply to your installers and application launchers. |
In the Java version section, you can constrain the version of the
Java VM.
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 |
The JRE search sequence determines how install4j searches for a JRE on the target system.
New configurations get a pre-defined default search sequence.
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 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:
|
The design time JDK determines which JDK or JRE is used for the following purposes:
The drop-down list next to the 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. |
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. |