Changing the JVM Version
Included with Native Installers

There are so many variants of the JVM that the easiest way to create a JVM bundle that meets your needs is to let JExpress build it. Or, you can simply use a 3rd party installer for the JRE.

  1. Copy the bundlejvm.jar file to a temporary directory on the OS which has the JRE that you want to distribute.
    This file is in the installation directory of JExpress.
  2. Double click on the bundlejvm.jar or issue the command java -jar bundlejvm.jar.
  3. If the directory name for the JVM is not the version that you want to bundle, then use the Browse button to move to the correct version's parent directory.
    The JRE's parent directory contains the bin and lib subdirectories.
  4. Click OK.
  5. Be patient while the bundle is created.
  6. Click the Exit button when it appears.
  7. The bundlejvm created 2 new files, and the jvm bundle in the directory where your ran it. Move these 2 new files back to the computer where you run JExpress to build your installers.
  8. The files must be stored in the appropriate platforms subdirectory. For example, if you just built the jvm bundle for Linux 32 bit system, then you'd move and jrelnx-x32.bin to the platforms/Linux subdirectory of your project's platforms subdirectory.


    • You can have different JVM versions for each OS, but you cannot have different JVM versions for the same OS. In other words, the 32 bit and 64 bit JVMs for a given OS, must be the exact same version. For example, you would not want to create a JVM bundle for the Windows 32 bit JVM that is 1.6.0_18 and a JVM bundle for the Windows 64 bit JVM that is 1.6.0_22.
    • If you are running JExpress on a Windows 8 or Windows 7 or Windows 10 machine, then there are 2 "platforms" subdirectory trees. One is in the JExpress install directory (the standard place) and there is another copy in the \Users\Public\Public documents\JExpressBuilder subdirectory. Move the files into this "public" subdirectory, not the install directory.
  9. Restart JExpress.