Original address:
http://blog.csdn.net/c1481118216/article/details/51495221
1. Open a terminal and enter the following commands:
export SWT_GTK3=0
2.然后进入eclipse的目录下 ,用gedit打开eclipse,ini文件,对其进行如下修改:
cd /home/lt/eclipse/jee-mars/eclipse/
sudo gedit eclipse.ini
3. Before this line:
--launcher.appendVmargs
Add the following two lines:
--launcher.GTK_version
2
Then it should work perfectly.