-
Bug
-
Resolution: Not an Issue
-
P2
-
None
-
jfx16
-
None
All my JavaFX apps don't run anymore with JavaFX 16-ea+7 when started like this:
class MyAppLauncher {public static void main(String[] args) {MyApp.main(args);}}
where MyApp extends Application. This avoids using the JPMS and has worked always up to now.
All I get is this warning: 2021-02-12 18:30:31 [WARNING][com.sun.javafx.application.PlatformImpl startup] Unsupported JavaFX configuration: classes were loaded from 'unnamed module @2c4231'
and then there is silence. The app just hangs and does not show any GUI.
I know that such a warning was going to be introduced but up to now my understanding was that this is just that - a warning.
This was tested on macOS 10.15.7 starting several apps from within Eclipse and as a standalone packaged application.
class MyAppLauncher {public static void main(String[] args) {MyApp.main(args);}}
where MyApp extends Application. This avoids using the JPMS and has worked always up to now.
All I get is this warning: 2021-02-12 18:30:31 [WARNING][com.sun.javafx.application.PlatformImpl startup] Unsupported JavaFX configuration: classes were loaded from 'unnamed module @2c4231'
and then there is silence. The app just hangs and does not show any GUI.
I know that such a warning was going to be introduced but up to now my understanding was that this is just that - a warning.
This was tested on macOS 10.15.7 starting several apps from within Eclipse and as a standalone packaged application.
- relates to
-
JDK-8256362 JavaFX must warn when the javafx.* modules are loaded from the classpath
- Resolved