我正在使用Error来打开Eclipse。我在窗口7 64位上使用Eclipse Juno 64位 Eclipse的日志是
!SESSION 2012-10-22 11:42:40.638 -----------------------------------------------
eclipse.buildId=M20120914-1800
java.version=1.7.0
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64
!ENTRY org.eclipse.equinox.ds 4 0 2012-10-22 11:42:48.527
!MESSAGE [SCR] Exception while activating instance org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngineManager@7e3e5dbe of component org.eclipse.e4.ui.css.swt.theme
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Display
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getDeclaredMethods(Unknown Source)
答案 0 :(得分:1)
如果你使用eclipse 64bit,你还需要一个64位的java运行时(反之亦然)。 我个人不会推荐它,因为java和eclipse似乎在64位版本中都不稳定。也许它变得更好了,但是在使用64位之后我换回了32位。