Eclipse 未在 Windows 7 上启动
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2120160/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Eclipse is not starting on Windows 7
提问by Dan Polites
Our company is making the move to Windows 7. After receiving the upgrade, Eclipse will no longer start on anyones machine. I first tried with 3.4 and I also tried the latest and greatest. I have the latest JDK installed as well, which is 6 update 18. This is a 32 bit machine. Any ideas? Here is the log file that Eclipse is generating:
我们公司正在迁移到 Windows 7。收到升级后,Eclipse 将不再在任何人的机器上启动。我首先尝试了 3.4,我也尝试了最新最好的。我也安装了最新的 JDK,它是 6 update 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(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench.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.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.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(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench.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.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.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.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.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(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench.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)
采纳答案by Dan Polites
I submitted a bug on the Eclipse site and it was determined that I need to execute Eclipse like so (Assuming Eclipse is installed at c:\eclipse):
我在 Eclipse 站点上提交了一个错误,并确定我需要像这样执行 Eclipse(假设 Eclipse 安装在 c:\eclipse):
eclipse.exe -eclipse.keyring C:\eclipse\keyring.txt
When Eclipse is first executed my workspace defaults to C:\eclipse\%userprofile%\workspace. For some reason, the user profile can't be determined on the installation of Windows 7 Enterprise Edition that I have. VonC you were on the right track with the parsing issue.
首次执行 Eclipse 时,我的工作区默认为 C:\eclipse\%userprofile%\workspace。出于某种原因,无法在我安装的 Windows 7 Enterprise Edition 上确定用户配置文件。VonC 你在解析问题上走在正确的轨道上。
Description of what the above command is doing:
上述命令正在执行的操作的描述:
From what I understand, it sets the Equinox secure storage location. Perhaps your % discrepancy is the cause of your problems, I don't know.
据我了解,它设置了 Equinox 安全存储位置。也许您的百分比差异是导致您出现问题的原因,我不知道。
Here is the URL to the bug:
这是错误的 URL:
回答by VonC
The sun.net.www.ParseUtil.decode()
bit suggests a special char in the path, as mentioned in this thread.
该sun.net.www.ParseUtil.decode()
位表示路径中的特殊字符,如本线程中所述。
If I have the equinox jar in a path with a percent sign in it, equinox won't start. For example:
如果我在路径中有 equinox jar 并带有百分号,则 equinox 将不会启动。例如:
$ pwd
/tmp/test%one
More specifically, if the percent sign is a valid escaping (ie, if the dir was
/tmp/test%20
) equinox will start, however it will fail to find theconfig.ini
that is located in the configuration directory.
更具体地说,如果百分号是有效的转义符(即,如果 dir 是
/tmp/test%20
),equinox 将启动,但是它将无法找到config.ini
位于配置目录中的 。
Did you check the FAQ I unzipped Eclipse, but it won't start. Why?
您是否检查了我解压缩 Eclipse的常见问题解答,但它无法启动。为什么?
Cannot find a VM.
找不到虚拟机。
Eclipse requires a JVM to run and does not include one in the download. You need to grab a VM yourself; the Eclipse downloads page has pointers to where you can get one. You may have a VM, but Eclipse cannot find it. To avoid possible conflicts, always specify the VM you are using with the -vm command-line argument.
Eclipse 需要 JVM 才能运行,并且下载中不包含 JVM。你需要自己抢一个虚拟机;Eclipse 下载页面提供了指向何处可以获取的指示。您可能有一个 VM,但 Eclipse 找不到它。为避免可能的冲突,请始终使用 -vm 命令行参数指定正在使用的 VM。
(see my eclipse.inifor an example to how reference the JVM)
(有关如何引用 JVM 的示例,请参见我的 eclipse.ini)
Bad VM.
坏虚拟机。
All versions of the Eclipse Platform require at least a JDK 1.3 VM. Eclipse 3.0 requires a 1.4 VM. Eclipse 3.3 and later contain many plug-ins that will not work without a 1.5 VM, and some that even require a 1.6 VM; Eclipse will run with a lower VM, but some functionality may be missing. As of Eclipse 3.3, the recommended VM version is 1.5 or later. If you are using a home-grown or experimental JVM and encounter problems, you may not be able to get help from other Eclipse users. Use a reputable VM. If you run into trouble, always try a VM from a major distributor and see whether the problem goes away. Eclipse also may not start if there is a mismatch in the JVM's architecture and the particular Eclipse build you are using. If you are on a 64-bit system but are using a 32-bit JVM, then you should download the 32-bit version of Eclipse. Likewise, if you are using a 64-bit JVM, then you should get the 64-bit version of Eclipse.
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。
(should not be the case here, unless somehow an other older VM is picked up by eclipse)
(这里不应该是这种情况,除非 eclipse 以某种方式获取了其他较旧的 VM)
Unsupported platform.
不支持的平台。
Make sure that the architecture and the operating system of your machine match one of the supported systems described in the file readme_eclipse.html. Eclipse will not run on Windows 95 or Commodore 64, for example. If your machine does not match one of the configurations described in the readme, it may still run, but you are on your own!
确保机器的体系结构和操作系统与文件 readme_eclipse.html 中描述的受支持系统之一匹配。例如,Eclipse 将无法在 Windows 95 或 Commodore 64 上运行。如果您的机器与自述文件中描述的配置之一不匹配,它可能仍会运行,但您必须靠自己!
Lack of appropriate native widget toolkit.
缺乏适当的原生小部件工具包。
If you download, for example, the GTK version of Eclipse, then you need to make sure that you have GTK (GTK+ 2.2.1 or higher, for Eclipse 3.3) on your computer and that it is correctly installed.
例如,如果您下载 Eclipse 的 GTK 版本,那么您需要确保您的计算机上安装了 GTK(GTK+ 2.2.1 或更高版本,用于 Eclipse 3.3)并且已正确安装。
Incorrectly unzipped.
解压不正确。
Believe it or not, about once a month, a user reports start-up failure: The user has unzipped Eclipse without selecting the use folder names option. Make sure that the result of unzipping is an install tree with an eclipse directory at its root. The Ark unzip utility in KDE is known to mangle Eclipse zips, so use a different unzip program to install there. The built-in unzip utility in Windows has also been known to have problems, particularly when installing into paths with relatively long names.
信不信由你,大约每月一次,用户报告启动失败:用户在没有选择使用文件夹名称选项的情况下解压缩了 Eclipse。确保解压的结果是一个安装树,其根目录下有一个 eclipse 目录。众所周知,KDE 中的 Ark 解压缩实用程序会破坏 Eclipse zip,因此请使用不同的解压缩程序来安装。众所周知,Windows 中的内置解压缩实用程序也存在问题,尤其是在安装到名称相对较长的路径时。
New Eclipse unzipped on top of older Eclipse.
新 Eclipse 解压缩到旧 Eclipse 之上。
Do not do this. Either install Eclipse in a brand new directory or use the Eclipse Update Manager to upgrade an older Eclipse. You can still keep your old workspace. Look in the Eclipse readme file for more details.
不要这样做。将 Eclipse 安装在一个全新的目录中,或者使用 Eclipse 更新管理器来升级旧的 Eclipse。您仍然可以保留旧工作区。有关更多详细信息,请查看 Eclipse 自述文件。
Buggy build.
越野车建造。
It is not always user error. Some integration builds, and even the odd stable build, will have start-up problems under certain configurations that were not well tested. For example, build 3.0M6 would fail to start up if you restarted with an old workspace after unzipping new plug-ins into the plugins directory. If you are a new user, always start with the most recent official Eclipse release to be sure you are using the “least buggy” version possible. For more advanced users willing to accept less stable builds, consult Bugzilla to see if your particular start-up problem has already been reported.
这并不总是用户错误。一些集成构建,甚至是奇怪的稳定构建,在某些未经充分测试的配置下会出现启动问题。例如,如果您在将新插件解压缩到 plugins 目录后使用旧工作区重新启动,则 build 3.0M6 将无法启动。如果您是新用户,请始终从最新的官方 Eclipse 版本开始,以确保您使用的是“漏洞最少”的版本。对于愿意接受不太稳定的构建的更高级用户,请咨询 Bugzilla 以查看是否已经报告了您的特定启动问题。
Xerces problem.
Xerces 问题。
Prior to Eclipse 3.0, Eclipse used a version of Xerces for parsing XML files, but certain distributions of 1.4 JVMs included a different version of Xerces with the same package names. This should not be a problem with Eclipse 3.0 or higher. See FAQ 108 for more details.
在 Eclipse 3.0 之前,Eclipse 使用 Xerces 版本来解析 XML 文件,但 1.4 JVM 的某些发行版包含具有相同包名的不同版本的 Xerces。这应该不是 Eclipse 3.0 或更高版本的问题。有关更多详细信息,请参阅常见问题解答 108。
Disk full or out of memory.
磁盘已满或内存不足。
Eclipse, especially 2.1 and earlier, does not always gracefully report disk-full errors or out-of-memory errors. Make sure that you have adequate disk space and that you are giving the Java VM enough heap space. See FAQ 26 for details.
Eclipse,尤其是 2.1 及更早版本,并不总是正常报告磁盘已满错误或内存不足错误。确保您有足够的磁盘空间,并为 Java VM 提供足够的堆空间。有关详细信息,请参阅常见问题解答 26。
回答by dan
One of your plugin installed is not compatible with windows 7.
您安装的插件之一与 Windows 7 不兼容。
回答by Michal Milkowski
If you have -vm option in [eclipse dir]/eclipse.ini file then try deleting it (including path to javaw.exe). It helped in my case when migrating from WinXP to Win7.
如果您在 [eclipse dir]/eclipse.ini 文件中有 -vm 选项,请尝试删除它(包括 javaw.exe 的路径)。从 WinXP 迁移到 Win7 时,它对我有帮助。
回答by C.L.S
I had the same problem with eclipse Indigo. I reinstalled eclipse but the problem persisted. Finally i swapped workspaceand the the problem was solved! So it has to do with the configurations files in the workspace... I didn't get into deeper as long as it runs i am happy :)
我在使用 Eclipse Indigo 时遇到了同样的问题。我重新安装了eclipse,但问题仍然存在。最后我交换了工作区,问题解决了!所以它与工作区中的配置文件有关......只要它运行我就没有深入研究我很高兴:)