Specify a bundled jre directory

Introduction [since 2.0.3]

Please note that: the "bundled jre directory" means a 'jre' directory which is copied along with executable binary file. The 'jre' is not wrapped into the exe file, but copied with exe file. So it is not required to INSTALL a 'jre'. 

Like 'jvmdll' does, 'jre' is used to specify a JRE by path. The 'jvmdll' is pointing to the 'jvm.dll' or 'libjvm.so' or 'libjvm.dylib' file, while 'jre' is pointing to the 'jre' directory.

The default value of 'jre' item is "./jre/".

For Copied JRE Directory

Like 'jvmdll', 'jre' is useful to let generated exe to use the copied JRE directory. But 'jre' does not specify the proper VM. You can use another 'vm' item to select the proper VM.

JRE Find Order

Configure item 'jre_order' is to specify JRE find order. Letter 'b' stands for the JRE specified by 'jre' item.

The default value of jre_order is 'cbsie', so generated exe will use the JRE specified by 'jre' if 'jvmdll' not exists. If letter 'b' is not in the value of jre_order, the 'jre' is ignored.

 See jre_order page for details of specifying JRE find order

Add new comment