本文介绍了Eclipse 未在 Windows 7 上启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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:

!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)

推荐答案

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

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.exe -eclipse.keyring C:eclipsekeyring.txt

第一次执行 Eclipse 时,我的工作区默认为 C:eclipse\%userprofile%workspace.由于某种原因,在我安装的 Windows 7 Enterprise Edition 上无法确定用户配置文件.VonC 你在解析问题上走在了正确的轨道上.

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.

上述命令的作用说明:

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

这是错误的 URL:

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

这篇关于Eclipse 未在 Windows 7 上启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 16:26