I want to run some .jar files with openJDK 13.0.2.
To run them, i use java -jar nameGoesHere.jar
via cmd (Windows 10)
For one .jar i get:
java.lang.NullPointerException
An other one shows me:
Error: Could not find or load main class ClassNameGoesHere
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application
When Using java 1.8.0_241 the .jar files run as expected.
I can not figure out what causes these problems. Any suggestions?