zoukankan      html  css  js  c++  java
  • eclipse3.3.2在CentOS5.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冲突。  

  • 相关阅读:
    django 常用命令
    nginx+gunicorn
    终于决定写个技术博客
    test
    自定义控件
    .net mvc 发布部署到机器上
    C# StringExt 字符串扩展
    MYSQL连接数据库
    List IEnumerable
    CentOS安装pip
  • 原文地址:https://www.cnblogs.com/hiddenfox/p/2264157.html
Copyright © 2011-2022 走看看