关于ubuntu16.4 中安装最新的eclipse或者是STS出现页面特卡,且新建项目没有提示,preference选项中点击左侧标签右侧没反应的解决办法,参照google, 排版不太好,希望对一些小伙伴有所帮助

Eclipse was working as good as anything on 14.04. I did a clean install of 16.04 and installed Eclipse. But it runs a Java program only once after which it just hangs during subsequent attempts before I remove and reinstall it. I have tried many things, since in the beginning I needed CDT as well. Right now, I just want to remove everything related to eclipse and do a fresh install (remove all the configs and dependencies). Please note that I used Eclipse installer to install Eclipse and the eclipse icon image is also not appearing (the default ubuntu ? is appearing).

   
 

I had something the same with 16.04 and Eclipse Mars.

I thought it had frozen but in fact it was running very, very slowly.

The problem is the version of GTK+ 3, shipped with 16.04. Fortunately the solution is very easy.

Open a terminal and then type  export SWT_GTK3=0,  then start Eclipse from the terminal. If that works, then a more persistent fix is to put the 2 lines in italics below intoeclipse.ini:

--launcher.GTK_version
2

before the line:

--launcher.appendVmargs

The bug is filed with Ubuntu at bug 1552764

上一篇:hdu_5818_Joint Stacks(线段树模拟)


下一篇:2019牛客暑期多校训练营(第八场)E:Explorer(LCT裸题 也可用线段树模拟并查集维护连通性)