Welcome 微信登录

首页 / 操作系统 / Linux / 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冲突。  Linux系统启动–虚拟文件系统Linux无人值守安装光盘制作相关资讯      Eclipse  CentOS 
  • Eclipse中将Java项目转换成Web项目  (07月28日)
  • 用 Python 打造你的 Eclipse  (04月26日)
  • Eclipse基金会发布下一代IDE,  (03月11日)
  • Linux 下搭建stm32开发环境   (07月01日)
  • 如何在Eclipse中添加Tomcat的jar包  (03月23日)
  • 基于Eclipse搭建STM32开源开发环境  (03月10日)
本文评论 查看全部评论 (0)
表情: 姓名: 字数