Eclipse在Fedora 12下无法响应 [英] Eclipse failed to response under Fedora 12
问题描述
我昨天尝试了fedora12,但是我发现月食不起作用.起初我以为这个问题与SELinux有关,但是在关闭selinux之后,我仍然无法 创建一个项目时,我按下下一步"或完成"按钮,没有任何反应.以及取消"按钮的效果很好.没有错误弹出窗口或错误日志.
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.
我尝试了eclipse -debug -console;但是当我单击按钮时没有日志输出.太奇怪了,这是以前发生过的吗?
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?
环境:fedora12,JDK 1.6.0_17,日食Galileo. 电脑:t400.
environment: fedora12, JDK 1.6.0_17, eclipse Galileo. computer: t400.
推荐答案
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:
#!/bin/sh
export MOZILLA_FIVE_HOME=/usr/lib/mozilla/
export ECLIPSE_HOME=/opt/IBM/eclipse
export GDK_NATIVE_WINDOWS=true
$ECLIPSE_HOME/eclipse $*
这篇关于Eclipse在Fedora 12下无法响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!