Eclipse不启动(Ubuntu):JVM终止。退出代码= 2 [英] Eclipse does not launch (Ubuntu) : JVM terminated. Exit code=2

查看:205
本文介绍了Eclipse不启动(Ubuntu):JVM终止。退出代码= 2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


  1. 我安装ubuntu 14.04 LTS(64位)

  2. 之后安装Eclipse Luno标准为64位

  3. 安装Jdk并按照以下链接设置jdk的步骤,

  1. I install ubuntu 14.04 LTS (64bit)
  2. After that Install Eclipse Luno Standard for 64bit
  3. Install Jdk and follow all the step for setting jdk using following link,

http://www.wikihow.com/Install-Oracle-Java-JDK-on-Ubuntu-Linux

然后,当我启动我的eclipse它给我一个以下错误,

Then After I enable to start my eclipse it giving me a following Error,

虚拟机终止。退出代码= 2

VM terminated. Exit code=2

 /usr/bin/java
 -Dosgi.requiredJavaVersion=1.6
 -XX:MaxPermSize=256m
 -Xms256m
 -Xmx1024m
 -jar   /home/eheuristic/Ecclipse/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415- 2008.jar
 -os linux
 -ws gtk
 -arch x86_64
 -showsplash  /home/eheuristic/Ecclipse/eclipse//plugins/org.eclipse.platform_4.4.0.v20140925- 0400/splash.bmp
 -launcher /home/eheuristic/Ecclipse/eclipse/eclipse
 -name Eclipse
 --launcher.library  /home/eheuristic/Ecclipse/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1. 200.v20140603-1326/eclipse_1605.so
 -startup /home/eheuristic/Ecclipse/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.appendVmargs
-exitdata 208017
-product org.eclipse.epp.package.java.product
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms256m
-Xmx1024m
-jar  /home/eheuristic/Ecclipse/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar 


I很多尝试解决设置环境变量但不能做,帮助我建议如何解决它。

I so much try to solve setting Environment variable but can't do, help me one suggest to how to solve it.

推荐答案

我找到我的愚蠢的解决方案,

I find my Stupid Solution ,

我尝试安装支持32位的jdk。

I trying install jdk that is support for 32 bit.

我下载新的 jdk1.8.0_25为64位,并按照步骤,我有解决方案。

I downloads new jdk1.8.0_25 for 64 bit and follow the step, i got solutions.

这篇关于Eclipse不启动(Ubuntu):JVM终止。退出代码= 2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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