Install4j Java最低版本似乎不起作用
我们正在使用Install4j 7.0.6,并将Java最低版本设置为“10.0.1”。 我们正在将Java 10.0.1捆绑到媒体文件中。 当我们用Java9VM替换包含的JVM时,我们的应用程序仍然启动。 我们只是误解了Java最低版本的功能,还是使用了错误的版本格式,还是在Install4j 7.0.6中被破坏了
你可以在下面搜索框中键入要查询的问题!
我们正在使用Install4j 7.0.6,并将Java最低版本设置为“10.0.1”。 我们正在将Java 10.0.1捆绑到媒体文件中。 当我们用Java9VM替换包含的JVM时,我们的应用程序仍然启动。 我们只是误解了Java最低版本的功能,还是使用了错误的版本格式,还是在Install4j 7.0.6中被破坏了
# 1 楼答案
据我所知,最小Java版本参数的目的是告诉Install4j用来编译脚本的Java编译器Java目标级别应该是什么
手册中包含一条警告,即不应包含低于目标级别的嵌入式JRE,因为这可能会导致运行时错误。该警告的含义是Install4j不会检查此项
下面是the manual所说的:
Install4j可能没有可靠的方法来检查为嵌入提供的JRE版本。无论如何,本手册暗示未对此进行检查
# 2 楼答案
无论最低版本是什么,都将始终使用捆绑的JRE。最小值适用于由搜索序列检查的已安装JRE