简体   繁体   English

eclipse(3.5和3.6)在ubuntu中崩溃了

[英]eclipse (3.5 & 3.6) crashes in ubuntu

i have a problem with eclipse within ubuntu 10.04 (x86). 我在ubuntu 10.04(x86)中遇到了eclipse的问题。 i installed eclipse by downloading the zip-file, not from the sources. 我通过下载zip文件而不是从源代码安装eclipse。 everything worked just fine until i decided to try eclipse 3.6 which i downloaded just as i did with 3.5... 一切顺利,直到我决定尝试eclipse 3.6,我下载就像我用3.5做的那样......

well i saved 3.6 in another directory than 3.5, started it and opened a workspace that i created with 3.5. 好吧,我在另一个目录中保存3.6而不是3.5,启动它并打开我用3.5创建的工作区。 after working a bit with 3.6 i notices the following problem: 用3.6工作后我注意到以下问题:

at some times, when i type sth like CLASSNAME. 在某些时候,当我输入类似CLASSNAME的时候。 or VARIABLE. 或VARIABLE。 (that is when the code-completion dialog pops up), eclipse crashes, when i try to (当弹出代码完成对话框时),当我尝试时,eclipse会崩溃

  • close the code completion window (eg by pressing ESC) 关闭代码完成窗口(例如按ESC键)
  • select sth from the code completion window 从代码完成窗口中选择sth

or anything else. 或其他任何东西。 this problem did NOT occur within 3.5 at ANY time. 任何时候都不会在3.5内发生此问题。 well - switching back to the old 3.5 did not solve the problem. 好 - 切换回旧的3.5并没有解决问题。 the crashes now happened also in this version :( 崩溃现在也发生在这个版本:(

so i tried to: 所以我试着:

  • delete the /home/USER/.eclipse dir 删除/home/USER/.eclipse目录
  • reinstall java from the sources 从源代码重新安装java
  • create a completely new workspace 创建一个全新的工作区
  • tried the eclipse version from sources (3.5) 从源头上尝试了eclipse版本(3.5)

nothing helped :( 没有任何帮助:(

i'm out of ideas... how do i get rid of this problem? 我没有想法......我怎么摆脱这个问题?

It looks like bug 308731 , which is XulRunner related. 它看起来像bug 308731 ,这与XulRunner有关。

I confirm that the Steffen's solution works for me and it is necessary to set the property " -Dorg.eclipse.swt.browser.XULRunnerPath ". 我确认Steffen的解决方案适用于我,并且必须设置属性“ -Dorg.eclipse.swt.browser.XULRunnerPath ”。

I set: 我设置:

-vmargs
-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/bin/xulrunner-1.9.2

in my eclipse.ini 在我的eclipse.ini

https://bugs.eclipse.org/bugs/attachment.cgi?id=160189
(crash when pressing Enter on content assist selection) (在内容辅助选择上按Enter键时崩溃)

Add -Dorg.eclipse.swt.browser.DefaultType=mozilla at the end of your eclipse.ini file 在eclipse.ini文件的末尾添加-Dorg.eclipse.swt.browser.DefaultType=mozilla

It works for me :) 这个对我有用 :)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM