Remove JavaFX JPMS enforcement
abhinay_agarwal at live.com
Fri Apr 24 07:14:34 UTC 2020
Hi Ty Young,
I am trying to identify which part of the documentation changed after JavaFX 13. The JVM arguments that you have specified are required since JavaFX 11. Alternatively, user doesn't need to pass these arguments if they are using javafx-maven-plugin to build and run the application.
I might be missing something here. Can you be kind enough to point me to the specific issue and the related section in docs so that it can be fixed?
Thanks in advance.
From: openjfx-dev <openjfx-dev-bounces at openjdk.java.net> on behalf of Ty Young <youngty1997 at gmail.com>
Sent: Monday, April 20, 2020 10:07 PM
To: openjfx-dev at openjdk.java.net <openjfx-dev at openjdk.java.net>
Subject: Re: Remove JavaFX JPMS enforcement
On 4/20/20 11:36 AM, Ty Young wrote:
> 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.
Also, it gives JavaFX 12 as an example, which is wrong. It should be 14.
More information about the openjfx-dev