我的系统是 ubuntu 7.10 ,eclipse 是从官方网站上下载的
启动eclipse出现的错误如下
JVM terminated. Exit code=13
/usr/bin/java
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-jar /opt/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
-os linux
-ws gtk
-arch x86
-showsplash
-launcher /opt/eclipse/eclipse
-name Eclipse
--launcher.library /opt/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.1.R33x_v20070828/eclipse_1020.so
-startup /opt/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
-exitdata 468047
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-jar /opt/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
刚开始的时候我安装的jdk是6。0,看到错误后我就安装了jdk5。0,然后设置了一下,可是问题依旧,有没有哪位朋友遇到过同样的问题,还请指点!
附:
skychen@AMD64:~$ cat /etc/jvm
# This file defines the default system JVM search order. Each
# JVM should list their JAVA_HOME compatible directory in this file.
# The default system JVM is the first one available from top to
# bottom.
/usr/lib/jvm/java-1.5.0-sun
/usr/lib/jvm/ia32-java-1.5.0-sun
/usr/lib/jvm/java-6-sun
/usr/lib/jvm/java-gcj
/usr
skychen@AMD64:~$ sudo update-alternatives --config java
[sudo] password for skychen:
There are 4 alternatives which provide `java'.
Selection Alternative
-----------------------------------------------
+ 1 /usr/lib/jvm/java-6-sun/jre/bin/java
2 /usr/bin/gij-4.2
3 /usr/bin/gij-4.1
* 4 /usr/lib/jvm/java-1.5.0-sun/jre/bin/java
Press enter to keep the default[*], or type selection number:
[问题]eclipse 3.3 不能正常启动
- skychen1900
- 帖子: 50
- 注册时间: 2006-09-19 7:17
- 联系:
-
- 帖子: 8
- 注册时间: 2007-08-16 22:42
- yexin218
- 帖子: 461
- 注册时间: 2007-08-22 17:36
- 来自: 澳门
- 联系:
echo $JAVA_HOME
看看环境配置
检查结果
java -version.
我的eclipse3.3好好的。 +cdt +swt+webwor+tomcat
看看环境配置
检查结果
java -version.
我的eclipse3.3好好的。 +cdt +swt+webwor+tomcat
我很敏捷,我是网上的蜘蛛;我很茫然,我是网中的猎物!
欢迎到我的Blog※代码回音※
欢迎到我的Blog※代码回音※