[问题]eclipse 3.3 不能正常启动

软件和网站开发以及相关技术探讨
回复
头像
skychen1900
帖子: 50
注册时间: 2006-09-19 7:17
联系:

[问题]eclipse 3.3 不能正常启动

#1

帖子 skychen1900 » 2007-10-21 19:24

我的系统是 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:
lcfreedragon
帖子: 8
注册时间: 2007-08-16 22:42

#2

帖子 lcfreedragon » 2007-10-21 21:08

我曾在装了lomboz后启动不起来,后来,我设置了JAVA_HOME的环境变量后就好了,不知你是不是这个原因
头像
yexin218
帖子: 461
注册时间: 2007-08-22 17:36
来自: 澳门
联系:

#3

帖子 yexin218 » 2007-10-21 21:15

echo $JAVA_HOME
看看环境配置
检查结果
java -version.
我的eclipse3.3好好的。 +cdt +swt+webwor+tomcat
我很敏捷,我是网上的蜘蛛;我很茫然,我是网中的猎物!
欢迎到我的Blog※代码回音※
tanya
帖子: 3
注册时间: 2007-11-09 18:57

#4

帖子 tanya » 2007-11-12 20:19

这可能是eclipse选用了系统默认的JVM
zxkane
帖子: 103
注册时间: 2007-11-02 10:46

#5

帖子 zxkane » 2007-11-12 21:36

可以指定使用的jvm

代码: 全选

eclipse -vm <jre location>
angelus
帖子: 445
注册时间: 2007-08-27 17:31

[闲聊]

#6

帖子 angelus » 2007-11-13 18:36

资料不足,先看你是32位还是64的,我记得好像有分的,看你下的那个版本的eclipse
linux的软件管理一直不很直白,容易乱,有时候装着装着自己就不知道作了些什么,
这种问题遇到过几次,你先把JDK全部删了,然后重新装下eclipse,一般都没什么问题的!
你能学会世界上所有语言来叫一种鸟的名字,当你知道所有这些名字叫法后,却对这种鸟一无所知~
理查德-费曼
回复