我运行eclipse提示如下
[root@localhost eclipse]# eclipse
org.osgi.framework.BundleException: Unable to find system bundle manifest file.
at org.eclipse.osgi.framework.adaptor.core.SystemBundleData.createManife st(SystemBundleData.java:73)
at org.eclipse.osgi.framework.adaptor.core.SystemBundleData.<init>(Syste mBundleData.java:34)
at org.eclipse.osgi.framework.adaptor.core.AbstractFrameworkAdaptor.crea teSystemBundleData(AbstractFrameworkAdaptor.java:294)
at org.eclipse.osgi.framework.internal.core.SystemBundle.<init>(SystemBu ndle.java:41)
at org.eclipse.osgi.framework.internal.core.Framework.createSystemBundle (Framework.java:187)
at org.eclipse.osgi.framework.internal.core.Framework.initialize(Framewo rk.java:152)
at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.j ava:95)
at org.eclipse.osgi.framework.internal.core.OSGi.createFramework(OSGi.ja va:90)
at org.eclipse.osgi.framework.internal.core.OSGi.<init>(OSGi.java:31)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarte r.java:215)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja va:127)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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:62
我编译一个JAR 文件提示如下
[root@localhost eclipse]# java -jar startup.jar
Failed to load Main-Class manifest attribute from
startup.jar