终端启动eclipse报错,求帮助!!!

wangsiyuanoo 2014-07-31 10:40:32
终端启动eclipse报错:
44 !ENTRY org.eclipse.osgi 4 0 2014-07-31 10:10:10.267
45 !MESSAGE Application error
46 !STACK 1
47 org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
48 at org.eclipse.swt.SWT.error(SWT.java:4467)
49 at org.eclipse.swt.widgets.Display.createDisplay(Display.java:934)
50 at org.eclipse.swt.widgets.Display.create(Display.java:918)
51 at org.eclipse.swt.graphics.Device.<init>(Device.java:157)
52 at org.eclipse.swt.widgets.Display.<init>(Display.java:514)
53 at org.eclipse.swt.widgets.Display.<init>(Display.java:505)
54 at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:732)
55 at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:162)
56 at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:165)
57 at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:107)
58 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
59 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
60 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
61 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
62 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
63 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
64 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
65 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

java版本是:
java version "1.7.0_09-icedtea"
OpenJDK Runtime Environment (rhel-2.3.4.1.el6_3-x86_64)
OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)

...全文
162 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
wangsiyuanoo 2014-07-31
  • 打赏
  • 举报
回复
引用 1 楼 micropentium6 的回复:
What is ur run level? Is X up? If so, did u access command line remotely or through GUI? What is the command for starting eclipse?
因为公司的redhat没有桌面 我就想用xming+CRT来使用eclipse 装了jre 环境也配置了
wangsiyuanoo 2014-07-31
  • 打赏
  • 举报
回复
引用 1 楼 micropentium6 的回复:
What is ur run level? Is X up? If so, did u access command line remotely or through GUI? What is the command for starting eclipse?
我就是在eclipse下执行./eclipse
  • 打赏
  • 举报
回复
What is ur run level? Is X up? If so, did u access command line remotely or through GUI? What is the command for starting eclipse?
  • 打赏
  • 举报
回复
引用 3 楼 wangsiyuanoo 的回复:
[quote=引用 1 楼 micropentium6 的回复:] What is ur run level? Is X up? If so, did u access command line remotely or through GUI? What is the command for starting eclipse?
因为公司的redhat没有桌面 我就想用xming+CRT来使用eclipse 装了jre 环境也配置了[/quote] No X, no eclipse could happen...
Iflyinsky2013 2014-07-31
  • 打赏
  • 举报
回复
桌面图形界面库没有,装一个图形桌面,,,就解决了

23,120

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧