[英]launch4j exe cannot find jre path
我想将我的exe与JRE一起运送。 我已配置JRE路径看起来正确,但尝试运行exe时找不到JRE。
文件夹结构:
|- jre7(copied from my windows installation of jre)
|-bin
|-lib
|- jretest.exe (the output exe file)
Install4j xml:
.....
<jre>
<path>/jre7</path>
<bundledJre64Bit>false</bundledJre64Bit>
<bundledJreAsFallback>false</bundledJreAsFallback>
<minVersion></minVersion>
<maxVersion></maxVersion>
<jdkPreference>preferJre</jdkPreference>
<runtimeBits>64/32</runtimeBits>
</jre>
.....
我缺少什么?
我解决了问题。 我未设置“ Min JRE version”属性,如果未设置该属性,则找不到Launch4j exe jre。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.