Java FX: Detectado [iscc.exe] Versión 0, pero la versión 5 se requiere. Bundler EXE instalador omite debido a un problema de configuración

user7331939:

Construyo una aplicación Java FX, y ahora intentando convertir en file.exe ejecución Pero intentado construir muestra el siguiente error en negrita. Pero he instalado el software de configuración Inno 6 y también establecer la ruta del entorno. Pero aún así, el error persiste.

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.

build.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>  
Martin Prikryl:

Java FX busca el patrón Inno Setup (\\d+.?\\d*)de iscc /?salida.

Mientras Inno Setup 5 imprime la siguiente:

Inno Setup 5 de línea de comandos del compilador

Inno Setup 6.0.3 6 antes de omitir el número de versión:

Inno Setup de línea de comandos del compilador

Es por eso que se obtiene

Detectado [iscc.exe] Versión 0, pero la versión 5 se requiere.


Asegúrate de que tienes la última versión de la disposición de Inno 6, ya que esto quedó "fijo" en 6.0.3 .

Supongo que te gusta

Origin http://43.154.161.224:23101/article/api/json?id=185208&siteId=1
Recomendado
Clasificación