gpt4 book ai didi

Java FX : Detected [iscc. exe] 版本 0,但需要版本 5。由于配置问题跳过了 Bundler EXE 安装程序

转载 作者:搜寻专家 更新时间:2023-11-01 02:56:46 26 4
gpt4 key购买 nike

我构建了一个Java FX应用程序,现在试图转换成执行文件.exe但是尝试构建它以粗体显示以下错误。但是我安装了Inno Setup 6软件,也设置了环境路径。但是,错误仍然存​​在。

No base JDK. Package will use system JRE.
No base JDK. Package will use system JRE.
Detected [iscc.exe] version 0 but version 5 is required.
Bundler EXE Installer skipped because of a configuration problem: Can not find Inno Setup Compiler (iscc.exe).
Advice to fix: Download Inno Setup 5 or later from http://www.jrsoftware.org and add it to the PATH.
No base JDK. Package will use system JRE.
No base JDK. Package will use system JRE.
Detected [iscc.exe] version 0 but version 5 is required.
Bundler EXE Installer skipped because of a configuration problem: Can not find Inno Setup Compiler (iscc.exe).
Advice to fix: Download Inno Setup 5 or later from http://www.jrsoftware.org and add it to the PATH.

构建.XML

<target name="-post-jfx-deploy">
<fx:deploy width="${javafx.run.width}" height="${javafx.run.height}"
nativeBundles="exe"
outdir="${basedir}/${dist.dir}" outfile="${application.title}">
<fx:application name="${application.title}" mainClass="${javafx.main.class}"/>
<fx:resources>
<fx:fileset dir="${basedir}/${dist.dir}" includes="*.jar"/>
<fx:fileset dir="dist" includes="lib/*.jar"/>
</fx:resources>
<fx:info title="${application.title}" vendor="${application.vendor}"/>
</fx:deploy>
</target>

最佳答案

Java FX 在 iscc/? 输出中查找模式 Inno Setup (\\d+.?\\d*)

当 Inno Setup 5 打印这个时:

Inno Setup 5 Command-Line Compiler

Inno Setup 6 before 6.0.3省略了版本号:

Inno Setup Command-Line Compiler

这就是为什么你得到

Detected [iscc.exe] version 0 but version 5 is required.


确保您拥有最新版本的 Inno Setup 6,因为 got "fixed" in 6.0.3 .

关于Java FX : Detected [iscc. exe] 版本 0,但需要版本 5。由于配置问题跳过了 Bundler EXE 安装程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56377459/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com