Eclipse 在启动时崩溃

ana*_*iSK 7 eclipse

我正在使用 64 位 Ubuntu 13.10 并且我有带有 SDK 的 Eclipse(正是 adt-bundle-linux-x86_64-20131030),我正在尝试学习如何制作我自己的 Android 应用程序,但 Eclipse 正在自动和随机关闭,没有错误或警告。我在终端中运行它,然后它显示了一些问题。

这是终端输出:

 A fatal error has been detected by the Java Runtime Environment:

 SIGSEGV (0xb) at pc=0x00007fbcae8f2c91, pid=5707, tid=140449979574016

 JRE version: 7.0_25-b30
 Java VM: OpenJDK 64-Bit Server VM (23.7-b01 mixed mode linux-amd64 compressed oops)
 Problematic frame:
 C  [libsoup-2.4.so.1+0x6ac91]  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:
/home/anarki/Dokumenty/adt-bundle-linux-x86_64-20131030/eclipse/hs_err_pid5707.log

 If you would like to submit a bug report, please include
 instructions on how to reproduce the bug and visit:
   https://bugs.launchpad.net/ubuntu/+source/openjdk-7/
 The crash happened outside the Java Virtual Machine in native code.
 See problematic frame for where to report the bug.
Run Code Online (Sandbox Code Playgroud)

Ami*_*mir 3

我将以下行添加到 eclipse.ini

-Dorg.eclipse.swt.browser.DefaultType=mozilla
Run Code Online (Sandbox Code Playgroud)

org.eclipse.swt.browser.DefaultType=mozilla
Run Code Online (Sandbox Code Playgroud)

到 config.ini ,我的问题解决了。


小智 2

我相信 stackoverflow 上的这个答案可以解决你的问题。/sf/answers/1414298091/

从技术上讲,这只是一种解决方法,但它解决了我的问题。

链接内容:

检查错误报告https://bugs.eclipse.org/bugs/show_bug.cgi?id=404776。我建议您 > 升级到最新的 Eclipse 4.3 (Kepler)。

或者,您可以尝试评论 #6 中建议的解决方法:

要解决此问题,请将以下内容添加到 eclipse.ini 的末尾

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

~ 于 2013 年 11 月 25 日 22:00 回答 [Pavel Horal]