为什么我的Eclipse Indigo会在使用Oracle JDK 64bit的Ubuntu 13.04上崩溃?

vik*_*cks 62 java eclipse crash

我在Ubuntu 13.04上安装了jdk和eclipse.它保持打开状态,直到我创建一个项目并输入一些基本的但是当我点击javadoc或Ctrl + Space之类的某个地方突然间,它会立即崩溃并显示以下消息.我有Juno和Ubuntu 12.04这个问题,但是当我从Juno升级到Indigo时,它很好.但是现在使用Indigo和Ubuntu 13.04后,它们都搞砸了.即使Juno也无法使用Ubuntu 13.04,我需要帮助.我需要让日食工作.我已准备好安装/删除任何东西以使Eclipse再次运行.

[psycho:~] $ /opt/eclipse/eclipse 

(Eclipse:19297): Gtk-WARNING **: Unable to locate theme engine in module_path: "mist",

(Eclipse:19297): Gtk-WARNING **: Unable to locate theme engine in module_path: "mist",
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fb29dce2009, pid=19297, tid=140405947455232
#
# JRE version: 7.0_10-b18
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.6-b04 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libsoup-2.4.so.1+0x6e009]  soup_session_feature_detach+0x19
#
# 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/psycho/hs_err_pid19297.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.
#
Run Code Online (Sandbox Code Playgroud)

我的日志:eclipse生成的日志

小智 146

我在使用Gnome Shell 3.8在Ubuntu 13.04上运行ADT时遇到了同样的错误.
我发现了这个相关的错误报告:https://bugs.eclipse.org/bugs/show_bug.cgi?id = 404776
并在错误报告中发布了一个解决方法:添加

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

对你eclipse.ini
来说,它对我有用,我希望它能为你解决问题.

  • 我在Ubuntu 14.04上遇到了同样的问题,并修复了它.谢谢! (15认同)

h-r*_*rai 6

我在Ubuntu 12.04上运行eclipse luna并面临同样的问题.我通过在eclipse.ini文件中添加以下行来解决它,因为其他选项对我不起作用.

-Dorg.jboss.tools.vpe.loadxulrunner=false
Run Code Online (Sandbox Code Playgroud)

希望能帮助到你!