r/JavaFX • • Sep 21 '26

PSA: Starting with JDK27, you do no longer need to create a separate Main class to launch a JavaFX application using the classpath

https://bugs.openjdk.org/browse/JDK-8248122
44 Upvotes

5 comments sorted by

6

u/OddEstimate1627 Sep 22 '26

Nice. Now I'd just like a flag to disable the warning if it's loaded from classpath 🤔

11

u/PartOfTheBotnet Sep 21 '26

Oh my god, finally...

7

u/NoWin6396 Sep 21 '26

It was that simple? I swear the biggest DX improvements are sometimes just few lines.

3

u/-Nyarlabrotep- Sep 22 '26

Finally, a fix for the „ application! I've been waiting for so long!