centos 6.x下折腾了好几天,eclipse,没有使用centos自带的,从eclipse官方下载,但一直报错,错误如下:
[feng@fsc ~]$ /usr/local/eclipse/eclipse # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x807afc5b, pid=3926, tid=3077723840 # # JRE version: 6.0_33-b04 # Java VM: Java HotSpot(TM) Client VM (20.8-b03 mixed mode linux-x86 ) # Problematic frame: # C [libxul.so+0xda8c5b] NS_StringGetMutableData_P+0x1bdbe # # An error report file with more information is saved as: # /home/feng/hs_err_pid3926.log # # 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. # 已放弃 (core dumped)
前两天也看到了消息里libxul.so的信息,但直到今天google了一下“libxul.so eclipse”才得知在在eclipse.ini最后加入如下两行即可
-Dorg.eclipse.swt.browser.UseWebKitGTK=true
-Dorg.eclipse.swt.browser.XULRunnerPath==/usr/lib/xulrunner-2
之前一直在jre/jdk上找原因,结果是徒劳的。
因为是要安装个android开发环境,android sdk不支持openJDK,而要使用sun/oracle的jdk,所以卸载openJDK、安装sun/oracle JDK,并卸载centos自带的eclipse并从官网下载eclipse并解压缩到/usr/local. 折腾了好几天了。
据网上朋友说原因是Firefox的依赖包xulrunner(负责网页的渲染的模块)与JRE冲突。
延伸阅读
- 磁盘空间爆掉时nginx报错 An error occurred
- php读取调用远程文件时报错Name or service not known/fedora linux下
- MySQL问题和常见错误/mysql官方文档
- yum依赖错误处理:清理重复的rpm包
- “常见错误 不能打开注册表关键字” 与 “Provider 错误 ’80004005′ 未指定的错误”解决手记
- 不用“维护计划”实现mssql定期备份并压缩存档
- centos 6.2 yum 升级时提示no module named yum
- yum更新遇到依赖错误的处理经验总结
- iis 错误500.13,但web站点并没有连接数限制
- 常见错误 不能打开注册表关键字 'Temporary (volatile) Jet DSN 解决方法/asp+access
- mysql多表join联查语句错误:#1241 - Operand should contain 1 column(s)
0 条评论。