JavaFX Launch Failure on Ubuntu from JNI

Matthias Bläsing mblaesing at doppel-helix.eu
Wed Jan 19 20:13:20 UTC 2022


Hi,

Am Mittwoch, dem 19.01.2022 um 13:49 -0600 schrieb Michael Hall:
> 
> > They are included in the classpath.  I'm not using modules.
> 
> This one https://stackoverflow.com/questions/67854139/javafx-warning-unsupported-javafx-configuration-classes-were-loaded-from-unna <https://stackoverflow.com/questions/67854139/javafx-warning-unsupported-javafx-configuration-classes-were-loaded-from-unna>
> Says…
> 
> The Warning
> 
> JavaFX only supports being loaded as named modules. In other words, JavaFX only supports being loaded from the module-path, not the class-path.
> 

Unsupported != does not work!

At this point in time Apache NetBeans loads JavaFX from classpath and
it works.

And before people throw fire at me, doing this revealed at least two
implementation issues, that would have bitten anyone running JavaFX
with a semi-complex module setup, but the classpath case is just so
much more realistic for an applicatin, that tries to work on JDK 8-17.

Greetings

Matthias




More information about the openjfx-dev mailing list