LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 739|回复: 4

Eclipse on J2sdk!

[复制链接]
发表于 2005-11-9 14:16:49 | 显示全部楼层 |阅读模式
Now I have solved the problem.

A new Problem:  I installed j2sdk-1.4.2._10 , and copy the link of jre to the directory oof eclipse,
but why the Eclipse still can't start up !

see the fourth page for the erroe message. :ask  :%  :%
 楼主| 发表于 2005-11-9 14:28:26 | 显示全部楼层
Eclipse depend on J2sdk, how to config it?
回复 支持 反对

使用道具 举报

发表于 2005-11-9 14:36:51 | 显示全部楼层
As to the startup.jar problem, it seems that the eclipse cannot find this jar liberary in the java classpath. To solve this problem, please try to go to the eclipse's installation directory and then launch eclipse.  Actually this way is to set the current working directory to eclipse directory so that eclipse can find startup.jar
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-9 14:45:25 | 显示全部楼层
I  don't install Eclipse , just extracted  it

and the starrtup.jar  and the executable file in the same directory.
now the poped Eror message as follows:

"
JVM terminated. Exit code=13
/usr/bin/java
-Xms40m
-Xmx256m
-jar /usr/local/eclipse/startup.jar
-os linux
-ws gtk
-arch x86
-launcher /usr/local/eclipse/eclipse
-name Eclipse
-showsplash 600
-exitdata c800e
-vm /usr/bin/java
-vmargs
-Xms40m
-Xmx256m
-jar /usr/local/eclipse/startup.jar "
回复 支持 反对

使用道具 举报

发表于 2005-11-10 20:13:04 | 显示全部楼层
不要建立或copy jre的soft link,这样做基本上一定会让java出错。如果只安装了一个java,就在path里了,不需要copy。如果有多个,用sudo update-alternatives --config java选择需要的jdk。 之后进入eclipse目录,./eclipse应该就可以了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表