LinuxZC 发表于 2004-7-10 22:38:05

请教各位Linux下安装Eclipse出错?

我下载的是J2SDK1.4.2,bin格式的,直接运行,然后它就解压了,bin格式的是这样安装的吧?然后我Copy到/usr目录下,配置profile后,javac可以运行了!
然后我下了Eclipse3.0 for Linux-GTK直接解开,运行出现下面错误:
!SESSION 七月 10, 2004 08:18:20.16 -----------------------------------------------
eclipse.buildId=I200406251208
java.version=1.4.2
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=zh_CN

!ENTRY org.eclipse.osgi 七月 10, 2004 08:18:20.19
!MESSAGE Startup error
!STACK 1
java.lang.RuntimeException: Exception while creating System Bundle: Unable to find system bundle manifest file.
        at org.eclipse.osgi.framework.internal.core.Framework.createSystemBundle(Framework.java:253)
        at org.eclipse.osgi.framework.internal.core.Framework.initialize(Framework.java:152)
        at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:95)
        at org.eclipse.osgi.framework.internal.core.OSGi.createFramework(OSGi.java:90)
        at org.eclipse.osgi.framework.internal.core.OSGi.<init>(OSGi.java:31)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:215)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:127)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
        at org.eclipse.core.launcher.Main.run(Main.java:644)
        at org.eclipse.core.launcher.Main.main(Main.java:628)
!SESSION Sat Jul 10 08:18:20 CST 2004 ------------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 七月 10, 2004 08:18:20.55
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.NullPointerException
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:138)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
        at org.eclipse.core.launcher.Main.run(Main.java:644)
        at org.eclipse.core.launcher.Main.main(Main.java:628)

请问是怎么回事?我在Gnome和KDE下都出错,我用的是RH9.0!
请各位帮忙!谢谢!

LinuxZC 发表于 2004-7-11 08:11:50

我自己解决了,好像不能在Windows下进行解压,要在Linux下解压!或者是我原来下载的有问题!

jiangtao9999 发表于 2004-7-11 10:03:27

文件是什么压缩格式的?

tar.* 必须在 linux 下解压,因为 tar 里包含了文件属性,在 windows 下解压缩会丢失这些属性。

这些属性对程序来说可能是必须的。
页: [1]
查看完整版本: 请教各位Linux下安装Eclipse出错?