r/JavaFX • u/sblantipodi_ • Oct 24 '26
Discussion JavaFX and full Wayland support, when?
It's unfortunate that Flatpak is phasing out apps that use both X11 and Wayland.
Since JavaFX doesn't fully support Wayland yet, most JavaFX applications risk being removed from Flathub or having their updates halted.
The way I see it, the lack of Wayland support will spell total failure for JavaFX in the short term.
Oracle, are you interested in adding official support for Wayland or not?
21
Upvotes
6
u/malachireformed Oct 24 '26
Wouldn't Wakefield fix this though? Or was that for Swing/Awt only?
3
u/CodeDead-gh JavaFX Fan 29d ago
There is some progress:
https://www.mail-archive.com/openjfx-dev@openjdk.org/msg30638.html
5
u/revilo-1988 Oct 25 '26
Isn't that Gluon's problem now? With OpenFX, Oracle seems to want nothing more to do with it.
1
u/nogridbag 26d ago
I'm also really interested in this. We're in an interesting point in time where I think there's a strong push towards desktop Linux. And for better or worse, people are leveraging AI to build apps that previously were Windows only. Personally I would have already switched to Linux if laptop prices weren't so steep.
I've been doing backend Java dev for a very long time, but I started my career doing Swing and I love UI development. I have Fedora Workstation running in UTM on Mac. The other day I tried using Gemini to scaffold a JavaFX project that would integrate well into Gnome and that's when I found out it doesn't support Wayland. At the most basic level it cannot easily honor the OS light/dark mode without some hacky workaround.