每次打开时Eclipse崩溃并关闭

时间:2014-05-31 17:19:37

标签: java eclipse

我遇到了eclipse ide的胎儿错误,当我尝试打开eclipse加载GUI然后关闭时,每次打开eclipse ide时都会发生。

Error Loading DDMS Preferences
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f5a0c9822a1, pid=4316, tid=140027354994432
#
# JRE version: Java(TM) SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libsoup-2.4.so.1+0x6c2a1]  soup_session_feature_detach+0x11
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /opt/eclipse/hs_err_pid4316.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug

解决方法

  • 改变eclipse owwner。
  • 以root身份运行eclipse。
  • 在/ opt。
  • 上再次提取jdk
  • 从/ opt到/ usr / bin链接到jre。

但问题仍然存在,任何帮助都将受到赞赏。

2 个答案:

答案 0 :(得分:2)

基于this我的问题已经解决了。

For a workaround add the following to the end of your eclipse.ini

-Dorg.eclipse.swt.browser.DefaultType=mozilla

答案 1 :(得分:0)

如果

-Dorg.eclipse.swt.browser.DefaultType=mozilla

不起作用,你的操作系统是debian,请在这篇文章中尝试解决方案:

http://forums.debian.net/viewtopic.php?f=8&t=115477