Remove JavaFX JPMS enforcement
youngty1997 at gmail.com
Mon Apr 20 16:36:05 UTC 2020
On 4/20/20 10:47 AM, Mark Raynsford wrote:
> Am I missing something here? What absurd arguments are required for
> Maven projects?
> I have multiple applications here running in full module-path mode (the
> applications are modularized, and JavaFX is on the module path), using
> plain Maven builds with no special arguments, and IDEA as the IDE.
> This is on JDK 13, with the 13.0.2 JavaFX release from Central.
From the second warning on this page:
That's the absurd part. JavaFX 14 now requires this as a JVM runtime
--module-path /path/to/javafx-sdk-12/lib --add-modules
Which wasn't required before. Not only is this a PITA and confusing but
it also prevents Maven from just handling everything. Netbeans uses a
custom file for runtime arguments, which the above is added to.
More information about the openjfx-dev