Re: Error: JavaFX runtime components are missing, and are required to run this application

2018-10-13 Thread Mark Raynsford
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: > https://stackoverflow.com/questions/52467561/intellij-cant-recogn

Re: Error: JavaFX runtime components are missing, and are required to run this application

2018-10-13 Thread Mark Raynsford
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 launc

Re: Error: JavaFX runtime components are missing, and are required to run this application

2018-10-13 Thread Johan Vos
ct 13, 2018 at 6:29 PM Mark Raynsford wrote: > 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 compo

Error: JavaFX runtime components are missing, and are required to run this application

2018-10-13 Thread Mark Raynsford
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