我最近升级到Windows 8(这显然是一个非常糟糕的决定并且浪费了40美元)并且eclipse无法启动。我下载了Juno但结果仍然相同。感谢是否有人可以帮助我。
eclipse.buildId=M20120914-1800 java.version=1.6.0_23 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product !ENTRY org.eclipse.osgi 4 0 2012-11-20 20:42:45.300 !MESSAGE Application error !STACK 1 java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: C:\Users\Lahiru\Desktop\eclipse\configuration\org.eclipse.osgi\bundles\628\1\.cp\swt-win32-4234.dll: A dynamic link library (DLL) initialization routine failed no swt-win32 in java.library.path Can't load library: C:\Users\Lahiru\.swt\lib\win32\x86_64\swt-win32-4234.dll Can't load library: C:\Users\Lahiru\.swt\lib\win32\x86_64\swt-win32.dll C:\Users\Lahiru\.swt\lib\win32\x86_64\swt-win32-4234.dll: A dynamic link library (DLL) initialization routine failed at org.eclipse.swt.internal.Library.loadLibrary(Library.java:331) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:240) at org.eclipse.swt.internal.C.(C.java:21) at org.eclipse.swt.widgets.Display.(Display.java:138) at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:653) at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161) at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:154) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:96) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) 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:353) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) 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:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438) at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
答案 0 :(得分:2)
确保您已设置JAVA_HOME和JRE环境。如果您使用的是64位操作系统并且安装了64位Eclipse,那么安装x64位JRE也会有所帮助。 http://www.java.com/en/download/faq/java_win64bit.xml
我在我的两个Windows 8版本上运行了一些类似的问题,并且能够解决这些问题。祝你好运。
答案 1 :(得分:0)
尝试将Windows更新为8.1。
我是Windows 8.1 64位用户。我的JDK也适用于64位。起初我在8.1上使用了eclipse开普勒。但是当我工作时,日食经常变得没有响应。在那之后,我决定回到日食Juno,它现在工作正常。