I am trying to make a .exe
without result, I am using OpenJDK 11 and netbeans11, first I tried to do it using Package as >> All Artifacts but I am getting just this error I tried to fix it with no result finally nbproject\build-native.xml:519: typedef class com.sun.javafx.tools.ant.FXJar cannot be found using the classloader AntClassLoader[]
I add the jar JAVAFX as libraries but it does not work any way (My project is not a JavaFX project I do not understand why I am getting this error).
So I passed to the next solution to make the .exe
, Launch4j but I get an executable that I can not launch without JRE 11 installed in the system but I need to include the JRE inside the .exe
, the user does not have to install JRE 11 to open the .exe
.
Please if you have any solution I will be gracefull.
cordially
nbproject\build-native.xml:519: typedef class com.sun.javafx.tools.ant.FXJar cannot be found using the classloader AntClassLoader[]