Home > Blockchain >  Eclipse 2022-06 startup problem on Ubuntu 22.04
Eclipse 2022-06 startup problem on Ubuntu 22.04

Time:06-15

There are some problems for using Eclipse 2022-06/03 on Ubuntu 22.04.

The below eclipse image is using this version:

enter image description here

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?

CodePudding user response:

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.

  • Related