Eclipse-3.3.2在CentOS-5.4下启动时崩溃的解决方法
由于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冲突。
相关推荐
星愿心愿 2020-11-24
lonesomer 2020-09-17
farwang 2020-11-25
tianhuak 2020-11-24
zhjn0 2020-11-24
昭君出塞 2020-11-23
bluecarrot 2020-11-23
linuxwcj 2020-10-21
以梦为马不负韶华 2020-10-20
彼岸随笔 2020-10-20
yutou0 2020-10-17
applecarelte 2020-10-16
ourtimes 2020-10-16
waterhorse 2020-09-19
MRFENGG 2020-11-11
rainandtear 2020-10-30
kyssfanhui 2020-10-20