1

screenshot of trying to run the JAR file

In IntelliJ, everything is running fine, but when I try to run exported JAR file, this error appear, why and how to solve this problem?

  • Hi Kenji, I think you need to add a classpath, that includes the JavaFX runtime jar, when you run your jar. Maybe this other question can help: https://stackoverflow.com/questions/18413014/run-a-jar-file-from-the-command-line-and-specify-classpath – devdanke Mar 03 '21 at 12:29

0 Answers0