eclipse-3.3.2在CentOS-5.4下启动时崩溃的解决方法

来源:互联网 发布:淘宝app官方下载 编辑:程序博客网 时间:2024/05/29 12:09


由于hadoop-0.20.2-eclipse-plugin需要eclipse-3.3.2,费了很大劲找了一个linux版的,在CentOS-5.4下还不能用,启动时读完条就自动关了。



经仔细查看,在eclipse文件夹中发现了一个错误日志 hs_err_pid4831.log,开头几行的内容如下:


## A fatal error has been detected by the Java Runtime Environment:##  SIGSEGV (0xb) at pc=0x0494b4e0, pid=4831, tid=3086752272## JRE version: 6.0_24-b07# Java VM: Java HotSpot(TM) Client VM (19.1-b02 mixed mode, sharing linux-x86 )# Problematic frame:# C  [libxul.so+0xd174e0]## If you would like to submit a bug report, please visit:#   http://java.sun.com/webapps/bugreport/crash.jsp# The crash happened outside the Java Virtual Machine in native code.# See problematic frame for where to report the bug.# 

注意到了其中的Problematic frame: C [libxul.so+0xd174e0],于是上网搜了一下解决方案。


在eclipse.ini的末尾加上两行即可:


-Dorg.eclipse.swt.browser.UseWebKitGTK=true-Dorg.eclipse.swt.browser.XULRunnerPath==/usr/lib/xulrunner-2


错误原因是Firefox3的依赖包xulrunner(负责网页的渲染的模块)与JRE冲突。



0 0
原创粉丝点击