m2eclipse 使在 openjdk-6-jdk 上运行的 eclipse 3.5.SR2 崩溃

发布于 2024-08-24 07:53:56 字数 401 浏览 8 评论 0原文

我下载了最新版本的 eclipse (3.5.SR2) 并安装了 m2eclipse

我没有在 sun-jdk-6 上运行(这对于最近的 Ubuntu 10.04 alpha 来说已经过时),而是在 open-jdk-6 上运行 eclipse。

一切都很好。我可以打开现有的项目并编译它们并运行测试。

然而,安装了m2eclipse后,我的eclipse每次启动都会崩溃。

如果我阻止 m2eclipse 插件联系中央存储库,那么 eclipse 将继续正常运行。

最疯狂的一点是,一旦与中央仓库的联系完成,eclipse就会立即退出,但在日志中没有留下任何痕迹。

我现在应该做什么?

I downloaded the latest version of eclipse (3.5.SR2) and get m2eclipse installed on.

Instead of running on sun-jdk-6 (which is obsolete for the recent Ubuntu 10.04 alpha), I have eclipse running on open-jdk-6.

Everything was just fine. I can open my existing project and have them compiled as well as running tests.

However, with m2eclipse installed on, my eclipse will crash every time I start it.

If I stopped the m2eclipse plugin from contacting the central repo, then eclipse will continue to run normally.

The craziest point is that eclipse will exit immediately as soon as the contacting to central repo finish, but leave no track in the log.

What should I do right now?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

黑寡妇 2024-08-31 07:53:56

是的,我也遇到了同样的问题。快把我逼疯了。 (Ubuntu 10.04)。我将 eclipse.ini 修改如下(注意:我将 /usr/lib/jvm/java-6-sun 作为到 /usr/lib/jvm/java-6-sun-1.6.0.20 的软链接) - 注意“-vm”行和以下行:

-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-vm
/usr/lib/jvm/java-6-sun/bin/java
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.200.v20090519
-product
org.eclipse.epp.package.reporting.product
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx1024m

现在一切正常!感谢大家的帮助!

Yeah, I was having the same problem. Was driving me crazy. (Ubuntu 10.04). I modified my eclipse.ini to be as follows (NOTE: I have /usr/lib/jvm/java-6-sun as a soft-link to /usr/lib/jvm/java-6-sun-1.6.0.20) - NOTE the "-vm" line and following line:

-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-vm
/usr/lib/jvm/java-6-sun/bin/java
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.200.v20090519
-product
org.eclipse.epp.package.reporting.product
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx1024m

Now everything works great! Thanks all for the help!

折戟 2024-08-31 07:53:56

确认了完全相同的问题!

..以及解决方案,使用 Sun JDK 1.6 Update 17 x64 eclipse 现在运行良好。

系统:
英特尔酷睿 2 双核,
乌班图 10.04 x64

confirming the exact same problem!

.. and the solution, using Sun JDK 1.6 Update 17 x64 eclipse runs fine now.

System:
Intel Core 2 Duo,
Ubuntu 10.04 x64

硬不硬你别怂 2024-08-31 07:53:56

我创建了 https://issues.sonatype.org/browse/MNGECLIPSE-2241这个问题。正如通过运行“eclipse -vm /usr/lib/jvm/java-6-sun/bin/java”所报告的那样。

I created https://issues.sonatype.org/browse/MNGECLIPSE-2241 for this issue. As reported by running "eclipse -vm /usr/lib/jvm/java-6-sun/bin/java" instead.

§对你不离不弃 2024-08-31 07:53:56

我也是:运行 eclipse -vm /usr/lib/jvm/java-6-sun/bin/java 一次修复了问题,并允许 Maven 正确更新。这样做之后,似乎使用 openjdk 又好了。

Me too: running eclipse -vm /usr/lib/jvm/java-6-sun/bin/java once fixed the problem, and allowed Maven to update correctly. Since doing that, it seems that using openjdk is fine again.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文