0

我正在使用 eclipse 3.7 (indigo),每次我尝试按 获取自动建议时它都会崩溃Ctrl+Space。我什至尝试更改我的 eclipse 和 jdk 版本,但仍然遇到相同的错误。

我在 Ubuntu 13.04 上运行,当我尝试从终端运行 eclipse 时出现以下错误 -

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f4d744f2009, pid=21632, tid=139972060423936
#
# JRE version: 7.0_21-b02
# Java VM: OpenJDK 64-Bit Server VM (23.7-b01 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/swapnilg/hs_err_pid21632.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.
#

是我得到的日志文件。请帮我。

4

2 回答 2

5

似乎 Eclipse 中存在错误 404776导致此问题。我使用 Eclipse Juno 和 Kepler 在 Fedora 19 上产生了这种效果。问题是由较新版本的 libsoup 引起的。

有一个解决方法对我来说效果很好,只需添加

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

在你的最后eclipse.ini

BR,
亚历克斯

于 2013-10-14T07:51:17.403 回答
0

What Java versions have you tried? OpenJDK and? Did you consider using the Oracle's one?

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
sudo update-java-alternatives -s java-7-oracle
java -version

Do you really need Indigo (3.7)? We have Juno (4.2) now... ooops Kepler (4.3) is just out.

于 2013-06-27T12:55:55.557 回答