Dynamic bundle
A dynamic bundle is downloaded on demand. If the user already has a suitable JRE installed,
that JRE will be used. If there is no such JRE available on the target machine,
the installer will download the dynamically bundled JRE from the URL that you specify in the
text fields below.
To enable the download on demand, you have to locate the corresponding
.tar.gz bundle archive in the jres subdirectory of your install4j installation
and place it on a server so that the HTTP download URL will point
to the bundle archive. The URL has to be of the form
http://www.myserver.com/somewhere/windows-x86-1.3.1_08.tar.gz.
In addition,
an optional FTP fallback download URL can be specified in the second text field.
This URL must be of the form:
ftp://ftp.myserver.com/somewhere/windows-x86-1.3.1_08.tar.gz.
The FTP server must support anonymous access.
If the installer determines that there is no suitable JRE present, it will ask the user
whether the JRE should be downloaded. If the Start download without user confirmation, if necessary
check box has been selected, that confirmation is skipped and the download starts immediately.
-
On Windows, a progress bar with download speed and estimated duration will be displayed
during the download.
-
On Unix-like systems, the progress will be shown in the terminal. Adding an FTP download
URL will increase the chance that the download will work on Unix-like systems behind
restrictive firewalls.
If the download fails or is aborted by the user, the download URL will be displayed
together with instructions on where to place the downloaded bundle archive.
You can override the default JRE search in a Microsoft Windows installer executable by
passing the argument -manual to the installer executable. The installer will then
report that no JRE could be found and offer you to locate one in your file system. If you have set up
a dynamic JRE bundle, it will also offer you to download one. This is a good way to test if your
download URL is correct.