3 ms·
JDK 17 does not support Wayland natively. [Project Wakefield](https://wiki.openjdk.java.net/display/wakefield/OpenJDK+Project+Wakefield+-+Wayland+desktop+suppor
by samus 5y ago
JDK 17 does not support Wayland natively. [Project Wakefield](https://wiki.openjdk.java.net/display/wakefield/OpenJDK+Project+Wakefield+-+Wayland+desktop+support+for+JDK+on+Linux https://wiki.openjdk.java.net/display/wakefield/OpenJDK+Proj...) aims to resolve that. So far, Java GUI applications only support connecting to an XWayland server when on Wayland. This is also stated in the bug you linked.
- dijit 5y agoThat’s extremely unfortunate and I’m not sure how I got that impression. I’m quite certain I read this because I spent significant amounts of time trying to get IntelliJ to run on EA versions of JDK… but evidently I’m wrong as it even mentions as such in the link I pasted. :/
- samus 5y agoThe sad thing is, there are no big technical hurdles to get like 95% of the things to run. What's unclear is how to take screenshots, how to control the mouse pointer and the mouse buttons and how to do input. These are quite far-reaching features that Wayland by design restricts for most applications.
- floatboth 5y agoI wouldn't want an IDE to ever warp my fucking mouse pointer!
- xvilka 5y agoSee also this[1] ussue to track the progress. There are problems even with XWayland, e.g. on HiDPI setups. There's a work-in-progress solution [2]. If you are willing to patch the software and build from sources it will help. [1] https://youtrack.jetbrains.com/issue/JBR-3206 https://youtrack.jetbrains.com/issue/JBR-3206 [2] https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/733 https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests...