Eclipse没有在Windows 7上启动

时间:2010-01-22 20:09:01

标签: eclipse windows-7

我们公司正在迁移到Windows 7.收到升级后,Eclipse将不再在任何机器上启动。我第一次尝试3.4,我也尝试了最新和最伟大的。我也安装了最新的JDK,这是6更新18.这是一台32位机器。有任何想法吗?这是Eclipse生成的日志文件:

!SESSION 2010-01-22 15:06:51.280 -----------------------------------------------
eclipse.buildId=M20090917-0800
java.version=1.6.0_18
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.osgi 4 0 2010-01-22 15:06:58.503
!MESSAGE An error occurred while automatically activating bundle org.eclipse.core.net (31).
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.net.Activator.start() of bundle org.eclipse.core.net.
 at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
 at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
 at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
 at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
 at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
 at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
 at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
 at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
 at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
 at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)
 at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:454)
 at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
 at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
 at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Unknown Source)
 at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor.activateProxyService(IDEWorkbenchAdvisor.java:258)
 at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor.postStartup(IDEWorkbenchAdvisor.java:238)
 at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2343)
 at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
 at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
 at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
 at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
 at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
 at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Caused by: java.lang.IllegalArgumentException
 at sun.net.www.ParseUtil.decode(Unknown Source)
 at sun.net.www.protocol.file.Handler.openConnection(Unknown Source)
 at sun.net.www.protocol.file.Handler.openConnection(Unknown Source)
 at java.net.URL.openConnection(Unknown Source)
 at java.net.URL.openStream(Unknown Source)
 at org.eclipse.equinox.internal.security.storage.StorageUtils.getInputStream(StorageUtils.java:94)
 at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.load(SecurePreferencesRoot.java:110)
 at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.<init>(SecurePreferencesRoot.java:84)
 at org.eclipse.equinox.internal.security.storage.SecurePreferencesMapper.open(SecurePreferencesMapper.java:99)
 at org.eclipse.equinox.internal.security.storage.SecurePreferencesMapper.getDefault(SecurePreferencesMapper.java:44)
 at org.eclipse.equinox.security.storage.SecurePreferencesFactory.getDefault(SecurePreferencesFactory.java:50)
 at org.eclipse.core.internal.net.ProxyType.getNode(ProxyType.java:515)
 at org.eclipse.core.internal.net.ProxyType.loadProxyAuth(ProxyType.java:525)
 at org.eclipse.core.internal.net.ProxyType.createProxyData(ProxyType.java:148)
 at org.eclipse.core.internal.net.ProxyType.getProxyData(ProxyType.java:137)
 at org.eclipse.core.internal.net.ProxyManager.migrateInstanceScopePreferences(ProxyManager.java:452)
 at org.eclipse.core.internal.net.ProxyManager.checkMigrated(ProxyManager.java:417)
 at org.eclipse.core.internal.net.ProxyManager.initialize(ProxyManager.java:276)
 at org.eclipse.core.internal.net.Activator.start(Activator.java:179)
 at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
 at java.security.AccessController.doPrivileged(Native Method)
 at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
 ... 37 more
Root exception:
java.lang.IllegalArgumentException
 at sun.net.www.ParseUtil.decode(Unknown Source)
 at sun.net.www.protocol.file.Handler.openConnection(Unknown Source)
 at sun.net.www.protocol.file.Handler.openConnection(Unknown Source)
 at java.net.URL.openConnection(Unknown Source)
 at java.net.URL.openStream(Unknown Source)
 at org.eclipse.equinox.internal.security.storage.StorageUtils.getInputStream(StorageUtils.java:94)
 at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.load(SecurePreferencesRoot.java:110)
 at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.<init>(SecurePreferencesRoot.java:84)
 at org.eclipse.equinox.internal.security.storage.SecurePreferencesMapper.open(SecurePreferencesMapper.java:99)
 at org.eclipse.equinox.internal.security.storage.SecurePreferencesMapper.getDefault(SecurePreferencesMapper.java:44)
 at org.eclipse.equinox.security.storage.SecurePreferencesFactory.getDefault(SecurePreferencesFactory.java:50)
 at org.eclipse.core.internal.net.ProxyType.getNode(ProxyType.java:515)
 at org.eclipse.core.internal.net.ProxyType.loadProxyAuth(ProxyType.java:525)
 at org.eclipse.core.internal.net.ProxyType.createProxyData(ProxyType.java:148)
 at org.eclipse.core.internal.net.ProxyType.getProxyData(ProxyType.java:137)
 at org.eclipse.core.internal.net.ProxyManager.migrateInstanceScopePreferences(ProxyManager.java:452)
 at org.eclipse.core.internal.net.ProxyManager.checkMigrated(ProxyManager.java:417)
 at org.eclipse.core.internal.net.ProxyManager.initialize(ProxyManager.java:276)
 at org.eclipse.core.internal.net.Activator.start(Activator.java:179)
 at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
 at java.security.AccessController.doPrivileged(Native Method)
 at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
 at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
 at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
 at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
 at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
 at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
 at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
 at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
 at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
 at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)
 at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:454)
 at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
 at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
 at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Unknown Source)
 at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor.activateProxyService(IDEWorkbenchAdvisor.java:258)
 at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor.postStartup(IDEWorkbenchAdvisor.java:238)
 at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2343)
 at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
 at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
 at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
 at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
 at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
 at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

!ENTRY org.eclipse.ui.workbench 4 0 2010-01-22 15:06:58.519
!MESSAGE Widget disposed too early!
!STACK 0
java.lang.RuntimeException: Widget disposed too early!
 at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:172)
 at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:117)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
 at org.eclipse.swt.widgets.Widget.release(Widget.java:804)
 at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:756)
 at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
 at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:756)
 at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
 at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:756)
 at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:174)
 at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:772)
 at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:1262)
 at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
 at org.eclipse.swt.widgets.Widget.dispose(Widget.java:441)
 at org.eclipse.swt.widgets.Decorations.dispose(Decorations.java:447)
 at org.eclipse.swt.widgets.Shell.dispose(Shell.java:709)
 at org.eclipse.swt.widgets.Display.release(Display.java:3523)
 at org.eclipse.swt.graphics.Device.dispose(Device.java:293)
 at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:129)
 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

!ENTRY org.eclipse.ui.workbench 4 0 2010-01-22 15:06:58.565
!MESSAGE Widget disposed too early!
!STACK 0
java.lang.RuntimeException: Widget disposed too early!
 at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:172)
 at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:117)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
 at org.eclipse.swt.widgets.Widget.release(Widget.java:804)
 at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:756)
 at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
 at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:756)
 at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
 at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:756)
 at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:174)
 at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:772)
 at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:1262)
 at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
 at org.eclipse.swt.widgets.Widget.dispose(Widget.java:441)
 at org.eclipse.swt.widgets.Decorations.dispose(Decorations.java:447)
 at org.eclipse.swt.widgets.Shell.dispose(Shell.java:709)
 at org.eclipse.swt.widgets.Display.release(Display.java:3523)
 at org.eclipse.swt.graphics.Device.dispose(Device.java:293)
 at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:129)
 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

!ENTRY org.eclipse.ui.workbench 4 0 2010-01-22 15:06:58.565
!MESSAGE Widget disposed too early!
!STACK 0
java.lang.RuntimeException: Widget disposed too early!
 at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:172)
 at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:117)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
 at org.eclipse.swt.widgets.Widget.release(Widget.java:804)
 at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:756)
 at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
 at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:756)
 at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
 at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:756)
 at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:174)
 at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:772)
 at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:1262)
 at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
 at org.eclipse.swt.widgets.Widget.dispose(Widget.java:441)
 at org.eclipse.swt.widgets.Decorations.dispose(Decorations.java:447)
 at org.eclipse.swt.widgets.Shell.dispose(Shell.java:709)
 at org.eclipse.swt.widgets.Display.release(Display.java:3523)
 at org.eclipse.swt.graphics.Device.dispose(Device.java:293)
 at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:129)
 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

!ENTRY org.eclipse.ui.workbench 4 0 2010-01-22 15:06:58.565
!MESSAGE Widget disposed too early!
!STACK 0
java.lang.RuntimeException: Widget disposed too early!
 at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:172)
 at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:117)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
 at org.eclipse.swt.widgets.Widget.release(Widget.java:804)
 at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:756)
 at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
 at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:756)
 at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
 at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:756)
 at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:174)
 at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:772)
 at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:1262)
 at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
 at org.eclipse.swt.widgets.Widget.dispose(Widget.java:441)
 at org.eclipse.swt.widgets.Decorations.dispose(Decorations.java:447)
 at org.eclipse.swt.widgets.Shell.dispose(Shell.java:709)
 at org.eclipse.swt.widgets.Display.release(Display.java:3523)
 at org.eclipse.swt.graphics.Device.dispose(Device.java:293)
 at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:129)
 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

!ENTRY org.eclipse.osgi 4 0 2010-01-22 15:06:58.581
!MESSAGE Application error
!STACK 1
java.lang.NoClassDefFoundError: An error occurred while automatically activating bundle org.eclipse.core.net (31).
 at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor.activateProxyService(IDEWorkbenchAdvisor.java:258)
 at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor.postStartup(IDEWorkbenchAdvisor.java:238)
 at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2343)
 at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
 at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
 at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
 at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
 at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
 at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

5 个答案:

答案 0 :(得分:5)

sun.net.www.ParseUtil.decode()位表示路径中有一个特殊字符,如this thread中所述。

  

如果我在一个带百分号的路径中有equinox jar,则equinox将无法启动。例如:

$ pwd
/tmp/test%one
  

更具体地说,如果百分号是有效的转义(即,如果dir是/tmp/test%20),则equinox将启动,但是它将无法找到位于配置目录中的config.ini


您是否检查了FAQ I unzipped Eclipse, but it won't start. Why?

无法找到VM。

Eclipse需要运行JVM,并且下载中不包含JVM。你需要自己抓一个VM; Eclipse下载页面指向了可以获取一个页面的指针。您可能有一个VM,但Eclipse无法找到它。为避免可能的冲突,请始终使用-vm命令行参数指定要使用的VM。

(有关如何引用JVM的示例,请参阅my eclipse.ini

坏VM。

所有版本的Eclipse平台至少需要一个JDK 1.3 VM。 Eclipse 3.0需要1.4 VM。 Eclipse 3.3及更高版本包含许多插件,如果没有1.5 VM,它们将无法工作,有些插件甚至需要1.6 VM; Eclipse将使用较低的VM运行,但可能缺少某些功能。从Eclipse 3.3开始,推荐的VM版本为1.5或更高版本。如果您使用的是本地或实验性JVM并遇到问题,则可能无法从其他Eclipse用户那里获得帮助。使用信誉良好的VM。如果遇到麻烦,请始终从主要经销商处尝试VM,看看问题是否消失。如果JVM的体系结构和您正在使用的特定Eclipse构建不匹配,Eclipse也可能无法启动。如果您使用的是64位系统但使用的是32位JVM,则应下载32位版本的Eclipse。同样,如果您使用的是64位JVM,那么您应该获得64位版本的Eclipse。

(在这里不应该是这种情况,除非以某种方式通过eclipse选择其他较旧的VM)

不支持的平台。

确保计算机的体系结构和操作系统与readme_eclipse.html文件中描述的受支持系统之一匹配。例如,Eclipse不会在Windows 95或Commodore 64上运行。如果您的机器与自述文件中描述的配置不匹配,它可能仍然可以运行,但您可以独立运行!

缺少适当的本机窗口小部件工具包。

如果你下载了例如Eclipse的GTK版本,那么你需要确保你的计算机上有GTK(GTK + 2.2.1或更高版本,适用于Eclipse 3.3)并且它已正确安装。

错误地解压缩。

信不信由你,大约每月一次,用户报告启动失败:用户解压缩Eclipse而不选择使用文件夹名称选项。确保解压缩的结果是一个安装树,其根目录下有一个eclipse目录。众所周知,KDE中的Ark解压缩实用程序会破坏Eclipse zip,因此请使用不同的解压缩程序进行安装。 Windows中的内置解压缩实用程序也存在问题,特别是在安装到名称相对较长的路径时。

新Eclipse在旧Eclipse上解压缩。

不要这样做。将Eclipse安装在一个全新的目录中,或使用Eclipse Update Manager升级旧的Eclipse。您仍然可以保留旧工作区。查看Eclipse自述文件以获取更多详细信息。

Buggy build。

并非总是用户错误。一些集成构建,甚至奇怪的稳定构建,在某些未经过良好测试的配置下会出现启动问题。例如,如果在将新插件解压缩到plugins目录后重新启动旧工作区,则构建3.0M6将无法启动。如果您是新用户,请始终使用最新的官方Eclipse版本,以确保您使用的是“最少的错误”版本。对于愿意接受不太稳定的版本的更高级用户,请咨询Bugzilla,看看您的特定启动问题是否已经报告过。

Xerces问题。

在Eclipse 3.0之前,Eclipse使用Xerces版本来解析XML文件,但1.4 JVM的某些发行版包含具有相同包名称的不同版本的Xerces。这不应该是Eclipse 3.0或更高版本的问题。有关详细信息,请参阅常见问题解答108.

磁盘已满或内存不足。

Eclipse,特别是2.1及更早版本,并不总是优雅地报告磁盘已满的错误或内存不足错误。确保您有足够的磁盘空间,并且您正在为Java VM提供足够的堆空间。有关详细信息,请参阅常见问题26。

答案 1 :(得分:5)

我在Eclipse网站上提交了一个错误,确定我需要像这样执行Eclipse(假设Eclipse安装在c:\ eclipse):

eclipse.exe -eclipse.keyring C:\eclipse\keyring.txt

首次执行Eclipse时,我的工作区默认为C:\ eclipse \%userprofile%\ workspace。出于某种原因,无法确定我安装的Windows 7企业版的用户配置文件。 VonC你在解决问题的过程中处于正确的轨道上。

上述命令的作用说明:

  

据我所知,它设定了   Equinox安全存储位置。   也许你的%差异就是   你的问题的原因,我不知道。

以下是该错误的URL:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=300577

答案 2 :(得分:0)

您安装的某个插件与Windows 7不兼容。

答案 3 :(得分:0)

如果[eclipse dir] /eclipse.ini文件中有-vm选项,则尝试删除它(包括javaw.exe的路径)。 从WinXP迁移到Win7时,它有助于我。

答案 4 :(得分:0)

我和eclipse Indigo有同样的问题。我重新安装了eclipse,但问题仍然存在。最后我换了工作区,问题解决了! 所以它与工作区中的配置文件有关...只要它运行我就没有深入了解我很高兴:)