Issue
There are some problems for using Eclipse 2022-06/03 on Ubuntu 22.04.
The below eclipse image is using this version:
The startup splash picture is not centered in the screen.
Why does eclipse can't put the startup picture on the center? Is it a BUG of eclipse or is it related to unknown packages missing on Ubuntu 22.04?
Solution
Thanks to @howlger's reply, I solved the Eclipse problem on Ubuntu 22.04 by adding this environment variable:
export GDK_BACKEND=x11
And then start eclipse, now everything in Eclipse will back to normal.
The ubuntu system still use wayland.
Note that it requires to restart system first if the environment variable is not a global variable because it won't take effect if Eclipse has already run first. the export must be called before Eclipse run at the first time.
Answered By - stackbiz
Answer Checked By - Mary Flores (JavaFixing Volunteer)