Eclipse退出并显示错误"JVM已终止...". [英] Eclipse exits with error "JVM terminated..."

查看:107
本文介绍了Eclipse退出并显示错误"JVM已终止...".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次关闭Eclipse时,都会弹出如下错误消息:

Every time eclipse is closed, it pops up a error message like this:

JVM terminated. Exit code=1
/usr/bin/java
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/kaiyin/opt/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
-os linux
-ws gtk
-arch x86_64
-showsplash /home/kaiyin/opt/eclipse//plugins/org.eclipse.platform_4.3.0.v20130605-2000/splash.bmp
-launcher /home/kaiyin/opt/eclipse/eclipse
-name Eclipse
--launcher.library /home/kaiyin/opt/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20130521-0416/eclipse_1506.so
-startup /home/kaiyin/opt/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.appendVmargs
-exitdata 1f60014
-product org.eclipse.epp.package.standard.product
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/kaiyin/opt/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar 

我正在kubuntu 13.04机器上运行它,它是从官方网站(不是ubuntu存储库)安装的,这里是版本信息:

I am running it on a kubuntu 13.04 machine, it's installed from the official website (not ubuntu repository), here is version info:

Version: Kepler Release
Build id: 20130614-0229

Java版本:

java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.13.04.2)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

推荐答案

当Eclipse的位数与Java安装的位数不符时,我已经看到了这一点.看来您具有Eclipse的64位版本.

I have seen this when the bitness of eclipse doesn't match the bitness of your java install. It looks like you have the 64-bit version of eclipse.

如果您运行 java -version ,它会说出这样的内容:

If you run java -version does it say something like this:

paulw@desktop:~$ java -version
java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1ubuntu0.12.04.2)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

这篇关于Eclipse退出并显示错误"JVM已终止...".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆