Сбой сборки установщика Netbeans 11.1 Exe - PullRequest
0 голосов
/ 09 октября 2019

Прежде всего, это не дубликат этой проблемы . Там нет решений как таковых. Я использую Netbeans 11.1, а приложение использует JDK 12 ( Примечание : запуск его с использованием Java 13 ничего не меняет). Я импортировал все библиотеки JavaFX (см. Скриншот ниже). Я могу построить файл .jar. У меня также есть мой Inno Set Up 6, интегрированный с Netbeans с включенной собственной упаковкой. Тем не менее, когда я пытаюсь упаковать пакет как "Exe installer", я сталкиваюсь со следующей ошибкой:

, если у кого-то есть какие-либо исправления для этого, пожалуйста, дайте мне знать. Я могу создать установщик 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)

enter image description here

...