创建新项目时 Eclipse 自动关闭

Jeg*_*ggy 5 eclipse java kubuntu

当我在 Eclipse 中单击完成一个新项目时,我使用此命令sudo apt-get install eclipse-platform安装了该项目。出现此弹出窗口,无论我选择是还是否,它都会关闭应用程序:

在此处输入图片说明

我试过从终端运行 eclipse 以便我可以看到发生了什么,但我不太好找出问题,但这就是我得到的:

jeggy@jeggy-Dell-System-XPS-L502X:~$ eclipse
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f305f07a528, pid=11475, tid=139846321936128
#
# 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  [libgobject-2.0.so.0+0x19528]  g_object_get_qdata+0x18
#
# 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/jeggy/hs_err_pid11475.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)

该字体错误是因为我正在运行 Kubuntu,我立即收到该错误,但我认为这与它在我创建新项目时关闭没有任何关系。如果有人感兴趣,我在这里发布了pid11475.log。正如它所说的那样尝试 "ulimit -c unlimited",我已经尝试过,但没有改变任何东西。

小智 7

我在 Kubuntu 14.10 上也遇到了同样的问题。我什至无法在“系统偏好设置”->“应用程序外观”下更改主题,因为只要我尝试单击“应用程序外观”,eclipse 就会崩溃。

但是编辑 /usr/share/themes/oxygen-gtk/gtk-2.0/ 下的 gtkrc 文件,如/sf/ask/1850520661/ 中所述ubuntu终于做到了。改变这一行:

 GtkComboBox::appears-as-list = 1
Run Code Online (Sandbox Code Playgroud)

到:

 GtkComboBox::appears-as-list = 0
Run Code Online (Sandbox Code Playgroud)