- 我安裝ubuntu 14.04 LTS(64位)
- 之後安裝Eclipse Luno標準64位
安裝JDK並按照使用下面的鏈接設定JDK的所有步驟,Eclipse不會啓動(Ubuntu):JVM終止。退出代碼= 2
http://www.wikihow.com/Install-Oracle-Java-JDK-on-Ubuntu-Linux
再經過我允許,開始我的日食它給我下面的錯誤,
VM終止。退出代碼= 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
我嘗試了這麼多解決設置環境變量,但不能做,幫我一個建議如何解決它。
我在搜索什麼? – 2014-11-05 04:54:24
.bashrc文件將在那裏在你的主文件夾,去那裏,並設置 - > #jdk路徑 出口JAVA_HOME =在/ usr /本地/ JDK 出口PATH = $ PATH:$ JAVA_HOME/bin中 – 2014-11-05 04:56:52
,我已經設置 – 2014-11-05 05:01:16