linux - 全新的 Debian STS 安装在启动时崩溃

标签 linux eclipse spring debian

知道如何解决此问题吗?

!SESSION 2014-11-27 09:06:02.049 -----------------------------------------------
eclipse.buildId=3.6.2.201410091308-RELEASE-e44
java.version=1.8.0_25
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=pt_BR
Framework arguments:  -product org.springsource.sts.ide
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.springsource.sts.ide

!ENTRY org.eclipse.osgi 4 0 2014-11-27 09:06:15.048
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
    at org.eclipse.swt.SWT.error(SWT.java:4467)
    at org.eclipse.swt.widgets.Display.createDisplay(Display.java:934)
    at org.eclipse.swt.widgets.Display.create(Display.java:918)
    at org.eclipse.swt.graphics.Device.<init>(Device.java:157)
    at org.eclipse.swt.widgets.Display.<init>(Display.java:514)
    at org.eclipse.swt.widgets.Display.<init>(Display.java:505)
    at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:732)
    at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:162)
    at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:165)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:107)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1438)

最佳答案

我已经找到问题的原因了。据报告,错误 430736 位于 https://bugs.eclipse.org/bugs/show_bug.cgi?id=430736 。一些内部依赖项同时加载 GTK2 和 GTK3,导致 Eclipse/STS 在启动时崩溃。解决方案是将 GTK3 设置为零

export SWT_GTK3=0

我是在根控制台上完成的,并通过控制台正常启动 Eclipse 和 STS。

关于linux - 全新的 Debian STS 安装在启动时崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27171628/

相关文章:

c++ - 使用 GCC 输出注释和注释的中间文件

linux - 在汇编程序中从/dev/input/event* 读取键盘事件

eclipse - 在Eclipse中饿了退格键?

java - 无法更新 SQLite 数据库中的整数字段

eclipse - java.lang.ClassNotFoundException : org. eclipse.core.runtime.adaptor.EclipseStarter

spring - Java 和 Neo4j 作为数据库的电子商务框架

java - Spring Boot 。找不到类型为 'org.hibernate.SessionFactory' 的 bean

c++ - 解析/调试/移植带有大量宏的 C++ 程序

linux - 在 bash-3.2$ 中找不到命令

java - SnappyData 作为操作数据库。推荐吗?