eclipse-3.3.2在CentOS-5.4下启动时崩溃的解决方法
2015-12-19 22:21
555 查看
由于hadoop-0.20.2-eclipse-plugin需要eclipse-3.3.2,费了很大劲找了一个linux版的,在CentOS-5.4下还不能用,启动时读完条就自动关了。
经仔细查看,在eclipse文件夹中发现了一个错误日志 hs_err_pid4831.log,开头几行的内容如下:
注意到了其中的Problematic frame: C [libxul.so+0xd174e0],于是上网搜了一下解决方案。
在eclipse.ini的末尾加上两行即可:
错误原因是Firefox3的依赖包xulrunner(负责网页的渲染的模块)与JRE冲突。
经仔细查看,在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中遇到的问题及解决办法
- 逻辑卷管理器(LVM2)的使用(CentOS6)和快照功能
- Linux下安装sublime汉化版及完美输入中文
- 每天一个Linux之ls命令
- archlinux在命令行模式下开机自动登陆
- LINUX执行 .run文件
- Linux 使用 NTP 时钟同步
- Linux下Hadoop集群的搭建(1)—重新编译Hadoop
- Linux系统更改网卡名称
- archlinux开启telnet服务 .
- GitHub发布桌面版但不包括Linux
- CentOS装机常用命令
- arm-linux-ld: ERROR: Source object init.o has EABI version 0, but target lcd_elf has EABI version 5
- Centos7 JDK8安装配置
- Centos7 PostgreSQL安装
- linux 64位汇编之hello world
- linux下安装hadoop以及myeclipse连接的配置
- linux开机启动程序
- Linux用户及用户组设置
- Linux 文件 & 目录