Turn: eclipse cannot be set up in ubuntu16.04 and the new project is stuck solution

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.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326488142&siteId=291194637