码迷,mamicode.com
首页 > 系统相关 > 详细

about ubuntu 16-4 install eclipse vary slow and always over , it is a bug,it takes me for half day ,i have to reback fictx

时间:2016-05-23 00:53:37      阅读:204      评论:0      收藏:0      [点我收藏+]

标签:

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).

shareimprove this question
 

7 Answers

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

about ubuntu 16-4 install eclipse vary slow and always over , it is a bug,it takes me for half day ,i have to reback fictx

标签:

原文地址:http://www.cnblogs.com/zhengqiang/p/5518451.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!