eclipse doesn't work with ubuntu 16.04

前端 未结 3 2037
不知归路
不知归路 2020-12-02 18:47

I just installed ubuntu 16.04 and downloaded eclipse and extracted. When i start eclipse the welcome page is empty.

When i start the eclipse marketplace nothing happ

3条回答
  •  执笔经年
    2020-12-02 19:36

    It's probably due to the GTK 3 SWT implementation. Eclipse should work perfectly with GTK 2, but uses GTK 3 on recent ubuntu.

    Do a test in the command line to verify it:

    1. Disable GTK: export SWT_GTK3=0

    2. Launch eclipse in the same session: eclipse

    If it works, make it permanent. Locate eclipse.desktop and add:

    Exec=env SWT_GTK3=0 eclipse
    

提交回复
热议问题