Why does my Eclipse Indigo crash on Ubuntu 13.04 with Oracle JDK 64bit?(为什么我的 Eclipse Indigo 在带有 Oracle JDK 64 位的 Ubuntu 13.04 上崩溃?)
问题描述
我在 Ubuntu 13.04 上安装了 jdk 和 eclipse.它一直保持打开状态,直到我创建一个项目并键入一些基本信息,但是当我单击 javadoc 或 Ctrl+Space 之类的某个位置时,它会在一分钟内突然崩溃,并显示以下消息.我在使用 Juno 和 Ubuntu 12.04 时遇到了这个问题,但是当我从 Juno 升级到 Indigo 时,一切正常.但是现在在使用 Indigo 和 Ubuntu 13.04 之后,一切都搞砸了.甚至 Juno 也无法使用 Ubuntu 13.04,我需要帮助.我需要让日食工作.我只是准备安装/删除任何东西以使 Eclipse 再次工作.
I installed jdk and eclipse on to Ubuntu 13.04. It stays open till I create a project and type some basic but then suddenly within a minute when I click somewhere like javadoc or Ctrl+Space, it immediately crashes with the following message. I had this problem with Juno and Ubuntu 12.04, but when I upgraded from Juno to Indigo, it was fine. But now after using Indigo and Ubuntu 13.04 it's all messed up. Even Juno won't work with Ubuntu 13.04, I need help. I need to get eclipse working. I just am ready to install/remove anything to get Eclipse working again.
[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.
#
我的日志:eclipse生成的日志
推荐答案
我在带有 Gnome Shell 3.8 的 Ubuntu 13.04 上运行 ADT 时遇到了同样的错误.
我发现了这个相关的错误报告:https://bugs.eclipse.org/bugs/show_bug.cgi?id=404776
以及错误报告中发布的解决方法:添加
I had the same error running ADT on Ubuntu 13.04 with Gnome Shell 3.8.
I found this relevant bug report: https://bugs.eclipse.org/bugs/show_bug.cgi?id=404776
And a workaround as posted in the bug report:
Add
-Dorg.eclipse.swt.browser.DefaultType=mozilla
到你的 eclipse.ini
它对我有用,我希望它也能解决你的问题.
to your eclipse.ini
It worked for me, I hope it solves the problem for you as well.
这篇关于为什么我的 Eclipse Indigo 在带有 Oracle JDK 64 位的 Ubuntu 13.04 上崩溃?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:为什么我的 Eclipse Indigo 在带有 Oracle JDK 64 位的
- 如何指定 CORS 的响应标头? 2022-01-01
- 将 Java Swing 桌面应用程序国际化的最佳实践是什么? 2022-01-01
- 在 Java 中,如何将 String 转换为 char 或将 char 转换 2022-01-01
- 如何使 JFrame 背景和 JPanel 透明且仅显示图像 2022-01-01
- 获取数字的最后一位 2022-01-01
- Eclipse 的最佳 XML 编辑器 2022-01-01
- 未找到/usr/local/lib 中的库 2022-01-01
- GC_FOR_ALLOC 是否更“严重"?在调查内存使用情况时? 2022-01-01
- 转换 ldap 日期 2022-01-01
- java.lang.IllegalStateException:Bean 名称“类别"的 BindingResult 和普通目标对象都不能用作请求属性 2022-01-01