Mistake. JavaFX Environment Components are missing and this application requires
I tried to build my app using javafx ant build, generated jar file. But when I run the jar file it gives out:
Error: JavaFX environment components are missing and they should run this application.
javafx-class-path: libs/h2.jar libs/jfxrt.jar libs/log4j.jar
Running a JAR file with:
java -jar app.jar
What could it be?
+4
source to share