## Step 5: Bundled JRE |
previous | up | next

In this step of the Windows Archive media wizard you can choose a JRE for bundling with your media file.

| If you choose to bundle a JRE by selecting the "`bundle the following JRE`" radio button, you have to choose a JRE from the drop down list below it. If you select "manual entry" in the drop down list, a text field will appear where you can enter a file name with user variables. Please note that you cannot enter a path here, but only a bundle filename that will be searched in `{install4j installation directory}/jres` and `{user home directory}/.install4j3/jres`. The existence of this bundle file will be checked only at compile time, not by the wizard. You can download additional JREs with the JRE download wizard. Click [JRE download wizard] to download the JREs you need. The drop down list will be updated after the download has finished. If you wish to bundle a JRE that is not available from ej-technologies' download server or that has custom modifications (like an installation of the `javax.comm` API), please see the JRE bundle creation wizard on how to create your own JRE bundle. install4j will automatically adjust the JRE search sequence of all generated launchers and include the bundled JRE as the first choice. The JRE will always be distributed in the directory `jre` right below the installation root directory.

| Note: If you bundle a >= 1.5 JRE with your archive, the file `rt.jar` in the JRE is initially still packed with the JSR 200 method. Any generated launcher will unpack this JRE if necessary. This will only happen once but it can take a few seconds. For GUI applications on Windows, the splash screen will be shown before unpacking is started, so it is advisable to define a splash screen in this case. For console launchers and Unix launchers, a corresposnding notice will be printed out on the console.

| Please see the help on the JRE download wizard for instructions on how to create your own JRE bundle.

| Click [Next] to proceed to the next step or [Cancel] to leave the Windows Archive media wizard without applying any changes.