eclipse启动不了

开源中国首席划水官 发布于 2018/08/29 15:34
阅读 557
收藏 0

64位的jdk和eclipse

日志如下

 

!SESSION 2018-08-29 15:32:28.727 -----------------------------------------------
eclipse.buildId=4.7.3.M20180330-0640
java.version=1.7.0_25
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

!ENTRY org.eclipse.osgi 4 0 2018-08-29 15:32:29.635
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:78)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1499)

加载中
0
樂

jdk版本与eclipse版本有冲突,jdk和eclipse版本不一致

你说的都是64位,怎么会输出“BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN”

命令行执行下“java -version”看下Java是不是64位,核对好了在下载相应的eclipse

樂
回复 @gfdgdgh : 还要看eclipse的版本支持的最低jdk是不是1.7,现在基本上都是jdk1.8了
樂
回复 @gfdgdgh : 那就看eclipse了
开源中国首席划水官
开源中国首席划水官
java version "1.7.0_25" Java(TM) SE Runtime Environment (build 1.7.0_25-b17) Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode) jdk是64位啊
返回顶部
顶部