首先,这不是该issue的副本。那里没有解决方案。我正在使用Netbeans 11.1,而应用程序正在使用JDK 12(注意:使用Java 13运行它不会更改任何内容)。我已经导入了所有JavaFX库(请参见下面的屏幕截图)。我能够建立.jar文件。我还启用了本地包装,将我的Inno Set Up 6与Netbeans集成在一起。但是,当我尝试打包为“ Exe安装程序”时,遇到以下错误:
如果有人对此有任何修复,请告诉我。我能够构建dmg安装程序,但不能构建exe,这有点烂!
Detected JavaFX Ant API version 1.0
Result: 1
init:
deps-clean:
Updating property file: C:\Users\Aditya\Documents\MixWildGUI\build\built-clean.properties
Deleting directory C:\Users\Aditya\Documents\MixWildGUI\build
clean:
deps-jar:
Created dir: C:\Users\Aditya\Documents\MixWildGUI\build
Updating property file: C:\Users\Aditya\Documents\MixWildGUI\build\built-jar.properties
Created dir: C:\Users\Aditya\Documents\MixWildGUI\build\classes
Created dir: C:\Users\Aditya\Documents\MixWildGUI\build\empty
Created dir: C:\Users\Aditya\Documents\MixWildGUI\build\generated-sources\ap-source-output
Compiling 9 source files to C:\Users\Aditya\Documents\MixWildGUI\build\classes
warning: [options] bootstrap class path not set in conjunction with -source 8
Note: C:\Users\Aditya\Documents\MixWildGUI\src\mixregui\mixregGUI.java uses or overrides a
deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
Copying 41 files to C:\Users\Aditya\Documents\MixWildGUI\build\classes
compile:
Created dir: C:\Users\Aditya\Documents\MixWildGUI\dist
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Copying 20 files to C:\Users\Aditya\Documents\MixWildGUI\dist\lib
Copied 4 empty directories to 4 empty directories under C:\Users\Aditya\Documents\MixWildGUI\dist\lib
C:\Users\Aditya\Documents\MixWildGUI\nbproject\build-native.xml:519: typedef class com.sun.javafx.tools.ant.FXJar cannot be found
using the classloader AntClassLoader[]
BUILD FAILED (total time: 6 seconds)