On 2018-10-13T19:46:34 +0200
Johan Vos wrote:
>
> There are some workarounds (e.g. you can have a Main class that doesn't
> extend Application that calls your Application), but the best approach is
> go modular, as explained here:
>
On 2018-10-13T19:46:34 +0200
Johan Vos wrote:
> The Java launcher (in the Java 11 JDK) checks if your main class extends
> Application, and in that case it checks the module path and tries to find
> javafx.graphics module. If you have that module on the classpath, but not
> as a module, the
The Java launcher (in the Java 11 JDK) checks if your main class extends
Application, and in that case it checks the module path and tries to find
javafx.graphics module. If you have that module on the classpath, but not
as a module, the launcher will exit with the message you see.
There are some
Hello!
Now that Java 11 is at general availability, I decided to give OpenJFX
11 a shot today. Unfortunately, I encountered the above error with an
extremely trivial example project:
Error: JavaFX runtime components are missing, and are required to run
this application
The Maven project setup