m2eclipse 使在 openjdk-6-jdk 上运行的 eclipse 3.5.SR2 崩溃
我下载了最新版本的 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
是的,我也遇到了同样的问题。快把我逼疯了。 (Ubuntu 10.04)。我将 eclipse.ini 修改如下(注意:我将 /usr/lib/jvm/java-6-sun 作为到 /usr/lib/jvm/java-6-sun-1.6.0.20 的软链接) - 注意“-vm”行和以下行:
现在一切正常!感谢大家的帮助!
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:
Now everything works great! Thanks all for the help!
确认了完全相同的问题!
..以及解决方案,使用 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
我创建了 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.
我也是:运行 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.