Fedora 12 下 Eclipse 无法响应
我昨天尝试了fedora12,但我发现eclipse不起作用。一开始我以为这个问题和SELinux有关,但是关闭selinux后还是不行 创建项目后,我按“下一步”或“完成”按钮,没有任何反应。那么“取消”按钮就可以工作了。没有错误弹出窗口或错误日志。
我尝试了 eclipse -debug -console;但是当我点击按钮时没有日志输出。太奇怪了,以前有人遇到过这种情况吗?
环境:fedora12、JDK 1.6.0_17、eclipse Galileo。 电脑:t400。
i tried fedora12 yesterday, but i find eclipse doesn't work. at first i thought this problem is related to SELinux, but after i turn off selinux, i still can't
create a project, i press the "next" or "finish" button, there is no response. well the "cancel" button works. there is no error popup, or error logs.
i tried eclipse -debug -console; but there is no log output when i click the button. it is so weird, is this happened to anyone before?
environment: fedora12, JDK 1.6.0_17, eclipse Galileo.
computer: t400.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
这是由于 GTK 2.18 中引入的更改而导致的错误,请参阅 Bug 291257。当前的解决方法是在运行 Eclipse 之前
导出 GDK_NATIVE_WINDOWS=true
。我实际上使用以下启动脚本:This is a bug due to a change introduced in GTK 2.18, see Bug 291257. The current workaround is to
export GDK_NATIVE_WINDOWS=true
before to run Eclipse. I actually use the following startup script:我也无法从更新站点安装插件。
在空白的 Eclipse 安装中,使用键盘添加新的更新站点(例如:jboss 工具)即可;此外,还可以从可用软件列表中选择要安装的版本。
新插件已安装,但重新启动后不会出现在透视图中(例如:jboss devel)。
此后,添加新的更新站点并尝试安装其版本将不起作用,可用软件列表仍为空。
使用 Fedora 12 Eclipse 3.5..
顺便说一句,“Fedora Eclipse”rpm 目前已损坏,它不会安装单个文件
解决方案:
Eclipse 3.6 修复了这些问题 http://download.eclipse.org/eclipse/downloads/
只需添加helios更新站点
I can't install plugins from update sites, either.
In a blank eclipse install, adding a new update site (es: jboss tools) using the keyboard works; also, it's possible to select a release to install from the available software list.
The new plugin gets installed, but won't appear in perspectives (es: jboss devel) after restart.
After that, adding new update sites and trying to install their releases won't work, the available software list remains empty.
Using Fedora 12 Eclipse 3.5..
By the way, "Fedora Eclipse" rpm is screwed at the moment, it won't install a single file
SOLUTION:
Eclipse 3.6 fix those problems http://download.eclipse.org/eclipse/downloads/
Just add helios update site
似乎与 F12 附带的 gtk/gdk 不兼容。您可以告诉 eclipse 使用本机 GDK,它应该会纠正这些问题:
GDK_NATIVE_WINDOWS=1 ./eclipse
There seems to be an incompatability with gtk/gdk shipped with F12. You can tell eclipse to use the native GDK and it should correct these problems:
GDK_NATIVE_WINDOWS=1 ./eclipse
您还可以将
-DGDK_NATIVE_WINDOWS=1
添加到eclipse.ini
文件中。如果您切换工作空间,这应该会有所帮助。You can also add
-DGDK_NATIVE_WINDOWS=1
to youreclipse.ini
file. That should help if you switch workspaces.这是一个错误,键盘可以工作。尝试一下。
it's a bug, the keyboard works. try it.