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).
Eclipse 使用 SWT 库(SWT 在 linux 上使用 gtk++)。 我认为您的问题与在 KDE 环境中运行的 SWT 库未找到 gtk++ 库有关。 但这只是猜测。
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.
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.
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.
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.
发布评论
评论(5)
尝试从其站点下载 Eclipse。
根据我的经验,Linux 发行版通常试图在 Java 应用程序方面变得过于聪明,而我总是比较幸运地找到源代码(Sun 用于 JDK,Eclipse 用于 Eclipse)。
Try to download Eclipse from its site.
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).
Eclipse 使用 SWT 库(SWT 在 linux 上使用 gtk++)。 我认为您的问题与在 KDE 环境中运行的 SWT 库未找到 gtk++ 库有关。 但这只是猜测。
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.
刚看到截图,尝试使用 Sun JDK 而不是 openjdk。
Just saw the screenshot, try Sun JDK instead of openjdk.
我对分销商提供的打包 Eclipse 也有过不好的经历。 他们经常修补 Eclipse 以将插件保留在系统中,而只将应用程序保留在用户主目录中。 由于缺少权限,这经常给我带来插件问题。
最好买一个原装的 Eclipse 并将其放在家里。
嗯,您安装了最新的 JRE (Sun JRE 6),所以我在这里看不到问题。 但您可以完全删除 JRE 包并重新安装。
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.
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.
你安装了gcj吗? 我认为 Eclipse 仍然使用 gcj,并且不能与 OpenJDK 一起使用。 当我上次在 Fedora 中使用 Eclipse(KDE 4.1.8x 和 Fedora 10)时,它运行良好。
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.