麻烦在Fedora 9上运行eclipse,KDE 4.2(在Gnome中运行正常)

时间:2021-07-31 20:18:50

I recently installed KDE4.2 on my Fedora 9 machine, which already had Gnome, and have been trying to run Eclipse 3.3 (Europa, which ships with a Fedora Distro), but without luck. Eclipse runs fine when I use gnome session, however I need to use it in KDE.

我最近在我的Fedora 9机器上安装了KDE4.2,它已经有Gnome,并且一直在尝试运行Eclipse 3.3(Europa,它附带Fedora Distro),但没有运气。当我使用gnome会话时,Eclipse运行正常,但我需要在KDE中使用它。

I am attaching the screen-shot taken after the crash and some information about my machine:

我正在附加崩溃后拍摄的屏幕截图以及有关我的机器的一些信息:

uname -a yields:

uname -a产量:

Linux localhost.localdomain 2.6.25-14.fc9.i686 #1 SMP Thu May 1 06:28:41 EDT 2008 i686 i686 i386 GNU/Linux

Linux localhost.localdomain 2.6.25-14.fc9.i686#1 SMP Thu May 1 06:28:41 EDT 2008 i686 i686 i386 GNU / Linux

I have a Intel Core 2 Duo processor. Also I have a host of JREs & JDKs ( JRE, JDK 5 and 6, JRE 4). JDK6 s the one in use.

我有一个Intel Core 2 Duo处理器。我还有许多JRE和JDK(JRE,JDK 5和6,JRE 4)。 JDK6是正在使用的。

I have a feeling that its something to do with gtk and qt. Since KDE runs on qt, I may need some plug-in. But couldn't find much upon searching the internet.

我有一种感觉,它与gtk和qt有关。由于KDE在qt上运行,我可能需要一些插件。但在搜索互联网时找不到多少。

Some pointers would really help! Also, let me know if you need more information about the machine or eclipse

一些指针真的会有所帮助!另外,如果您需要有关机器或日食的更多信息,请与我们联系

EDIT: Added the screenshot.

编辑:添加了截图。

Here is the image: http://i43.tinypic.com/33z4rv5.png

这是图像:http://i43.tinypic.com/33z4rv5.png

5 个解决方案

#1


Try to download Eclipse from its site.

尝试从其站点下载Eclipse。

In my experence Linux distros are usually trying to be too smart with java apps, and I allways had better luck going to the source (Sun for JDK, Eclipse for the Eclipse).

在我的经历中,Linux发行版通常试图使用java应用程序过于聪明,而且我总是有更好的运气来源(Sun为JDK,Eclipse为Eclipse)。

#2


Eclipse uses SWT library (SWT uses gtk++ on linux). I think your problem is somehow related to SWT library running in KDE environment not finding gtk++ library. But this is just guess.

Eclipse使用SWT库(SWT在linux上使用gtk ++)。我认为你的问题在某种程度上与在KDE环境中运行的SWT库没有找到gtk ++库有关。但这只是猜测。

#3


Just saw the screenshot, try Sun JDK instead of openjdk.

刚看到屏幕截图,请尝试使用Sun JDK而不是openjdk。

#4


I had also bad experiences with the packaged Eclipse from the distributors. They often patch Eclipse to have the plugins in the system and leave only the application in the users home. This gave me often problems with plugins because of the missing rights. Better to get a original Eclipse and place it in your home.

我也从经销商那里得到了包装好的Eclipse经验。他们经常修补Eclipse以在系统中安装插件,并仅将应用程序留在用户家中。由于缺少权限,这经常给我带来插件问题。更好地获得原始Eclipse并将其放在您的家中。

Mmh, you have the newest JRE installed (Sun JRE 6) so I cannot see a problem here. But you could remove the JRE package completely and reinstall it.

嗯,你安装了最新的JRE(Sun JRE 6),所以我在这里看不到问题。但是你可以完全删除JRE包并重新安装它。

#5


Do you have gcj installed? I think Eclipse still uses gcj, and doesn't work with OpenJDK. When I last used Eclipse in Fedora (KDE 4.1.8x and Fedora 10), it ran fine.

你有安装gcj吗?我认为Eclipse仍然使用gcj,并且不能与OpenJDK一起使用。当我上次在Fedora中使用Eclipse(KDE 4.1.8x和Fedora 10)时,它运行良好。

#1


Try to download Eclipse from its site.

尝试从其站点下载Eclipse。

In my experence Linux distros are usually trying to be too smart with java apps, and I allways had better luck going to the source (Sun for JDK, Eclipse for the Eclipse).

在我的经历中,Linux发行版通常试图使用java应用程序过于聪明,而且我总是有更好的运气来源(Sun为JDK,Eclipse为Eclipse)。

#2


Eclipse uses SWT library (SWT uses gtk++ on linux). I think your problem is somehow related to SWT library running in KDE environment not finding gtk++ library. But this is just guess.

Eclipse使用SWT库(SWT在linux上使用gtk ++)。我认为你的问题在某种程度上与在KDE环境中运行的SWT库没有找到gtk ++库有关。但这只是猜测。

#3


Just saw the screenshot, try Sun JDK instead of openjdk.

刚看到屏幕截图,请尝试使用Sun JDK而不是openjdk。

#4


I had also bad experiences with the packaged Eclipse from the distributors. They often patch Eclipse to have the plugins in the system and leave only the application in the users home. This gave me often problems with plugins because of the missing rights. Better to get a original Eclipse and place it in your home.

我也从经销商那里得到了包装好的Eclipse经验。他们经常修补Eclipse以在系统中安装插件,并仅将应用程序留在用户家中。由于缺少权限,这经常给我带来插件问题。更好地获得原始Eclipse并将其放在您的家中。

Mmh, you have the newest JRE installed (Sun JRE 6) so I cannot see a problem here. But you could remove the JRE package completely and reinstall it.

嗯,你安装了最新的JRE(Sun JRE 6),所以我在这里看不到问题。但是你可以完全删除JRE包并重新安装它。

#5


Do you have gcj installed? I think Eclipse still uses gcj, and doesn't work with OpenJDK. When I last used Eclipse in Fedora (KDE 4.1.8x and Fedora 10), it ran fine.

你有安装gcj吗?我认为Eclipse仍然使用gcj,并且不能与OpenJDK一起使用。当我上次在Fedora中使用Eclipse(KDE 4.1.8x和Fedora 10)时,它运行良好。