I tried to build the application using javafx ant build, generated jar file. But when I run the jar file, issue:
Error: JavaFX runtime components are missing, and are required to run this application.
The javafx-class-path: libs/h2.jar libs/jfxrt.jar libs/log4j.jar
Running the JAR file using:
java -jar app.jar
What could it be?