Eclipse Luna 不工作(Kali Linux)

Eclipse Luna Not Working (Kali Linux)

每次转到 运行 Linux 版本的 Eclipse Luna SR2,它只会停在小启动画面(window 出现在你之前 select 你的作品 space) 然后它就那样停留了大约 30 秒,然后关闭。有什么帮助吗?

它生成此错误日志,发现 Here

新答案:这是一个已知错误,至少在一种情况下解决该问题的解决方法是 运行

export SWT_GTK3=0

在启动 Eclipse 之前。请参阅 https://bugs.eclipse.org/bugs/show_bug.cgi?id=430736 for more information. If this workaround does not fix your issue make sure GTK3 is installed and upgrade glibc to at least version 2.14 to ensure Eclipse uses it. Apparently when Eclipse detects an older glibc it tries to use GTK2. If none of these suggestions fix your issue you should submit a bug report at http://bugreport.java.com/bugreport/crash.jsp 与 Eclipse 开发团队一起解决问题,并帮助将其告知其他人。

@ElectroMan - 评论时间太长了。是的,错误日志说的是同一件事。这意味着根据日志,您是 运行ning Java 6,"JRE version: 6.0_34-b34"。我建议您尝试 运行ning Java 8 或至少 Java 7。Java SE 8u40 是 Oracle 的当前版本,可以下载 64 位 [=25] =] 来自 http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html. It is best to use the latest Oracle release and get away from the OpenJDK version, especially one that is two major releases outdated. However, if you opt for Java 7 its final release is available at http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html. You should be able to install either in a non-default location and keep OpenJDK 1.6.0_34 as your main version of Java on your platform. Eclipse can be configured to use Java 8 or 7 after it is installed by project or as its default for all new projects, but the main thing is to tell it to use Java 8 or 7 when it runs, since it is a Java application. Some instructions for this are at http://www.cs.umd.edu/eclipse/install_java8_luna.html. One of the main reasons for upgrading from Eclipse Kepler to Luna is to get built-in Java 8 support. Another option is to follow the instructions in the error log and file a bug report at http://www.cs.umd.edu/eclipse/install_java8_luna.html 上的 link 并等待回复。或者也许已经有新的 Luna 更新,您可以尝试一下。