weixin_40371800
mashiro_dell
采纳率42.9%
2018-01-03 12:20

安装了jdk,环境变量也配置好了,但是eclipse打不开,错误信息如下,求助,急!!!!!!

20
已采纳

!SESSION 2018-01-03 19:56:48.518 -----------------------------------------------
eclipse.buildId=M20130204-1200
java.version=9.0.1
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments: -product com.android.ide.eclipse.adt.package.adtproduct
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product com.android.ide.eclipse.adt.package.adtproduct

!ENTRY org.eclipse.equinox.simpleconfigurator 4 0 2018-01-03 19:56:51.800
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle "org.eclipse.equinox.simpleconfigurator_1.0.301.v20120914-163612 [5]" could not be resolved. Reason: Missing Constraint: Bundle-RequiredExecutionEnvironment: CDC-1.1/Foundation-1.1,J2SE-1.4
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1332)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1316)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.osgi 4 0 2018-01-03 19:56:51.815
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.equinox.simpleconfigurator_1.0.301.v20120914-163612.jar was not resolved.

!ENTRY org.eclipse.osgi 2 0 2018-01-03 19:56:51.847
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2018-01-03 19:56:51.847
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.equinox.simpleconfigurator_1.0.301.v20120914-163612.jar was not resolved.
!SUBENTRY 2 org.eclipse.equinox.simpleconfigurator 2 0 2018-01-03 19:56:51.847
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.1))(&(osgi.ee=JavaSE)(version=1.4)))".

!ENTRY org.eclipse.osgi 2 0 2018-01-03 19:56:51.862
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2018-01-03 19:56:51.862
!MESSAGE Bundle org.eclipse.equinox.simpleconfigurator_1.0.301.v20120914-163612 [5] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.simpleconfigurator 2 0 2018-01-03 19:56:51.862
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.1))(&(osgi.ee=JavaSE)(version=1.4)))".

!ENTRY org.eclipse.osgi 4 0 2018-01-03 19:56:51.894
!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:74)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/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)

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

14条回答

  • sinat_34344123 星尘的一个朋友 3年前

    是版本不匹配。这有一个1.8 64位的。换成这个就可以解决你这个问题了。
    https://pan.baidu.com/s/1mhYdXSc

    点赞 1 评论 复制链接分享
  • icecoola_ icecoola_ 3年前

    问题解决了,不总结一下,这习惯不好,,,,,,,,,,,谢谢大家,也不说一下是怎么解决的

    点赞 2 评论 复制链接分享
  • kk1184769705 kk1184769705 3年前

    eclipse的版本和jdk版本不匹配

    点赞 评论 复制链接分享
  • yulei2008_ 于雷【星硕世纪】 3年前

    什么运行环境。应该版本问题!重新安装一下对应位置版本JDK

    点赞 评论 复制链接分享
  • z740852294 Owen_le 3年前

    你好 你是用的jdk9版本过高 建议换成jdk8

    点赞 评论 复制链接分享
  • weixin_37219633 Java批发 3年前

    版本问题吧, 一个32位 一个64位

    点赞 评论 复制链接分享
  • qq_36940120 Java老大哥 3年前

    马士兵2017全年的视频讲解包含(java基础讲解 架构大数据 机器学习 人工智能 ) 全方位的视频和源码 ,技术扶持群 里面工作年限超十年的15名,项目经理也有数个,可以了解面试方面的事情,解决一些bug不是事,群号是233025331,欢迎大家前来,谢谢

    点赞 评论 复制链接分享
  • weixin_40371800 mashiro_dell 3年前

    问题已解决,谢谢大家

    点赞 评论 复制链接分享
  • weixin_38421119 魏宏斌 3年前

    ###你好:
    如果我猜的没错,你JDK安装和配置的应该是JDK9.0.1的.
    现在Eclipse最高只支持JDK1.8
    你只需要安装JDK1.8重新配置环境变量即可.
    如果还有问题,可以加我QQ详聊。
    QQ:**1602586227 **

    点赞 评论 复制链接分享
  • ruader Rudeeeeeee 3年前

    重装jdk, 重装eclipse即可

    点赞 评论 复制链接分享
  • qq_34925064 qq_34925064 3年前

    你的jdk版本,与eclipse版本不兼容

    点赞 评论 复制链接分享
  • f1004168799 f1004168799 3年前

    我看到你是jdk9
    你可以试一下
    在X:\Program Files\eclipse\eclipse.ini
    在文件末尾添加一行:
    --add-modules=ALL-SYSTEM

    X是你的安装盘符

    点赞 评论 复制链接分享
  • f1004168799 f1004168799 3年前

    win10还是什么平台

    点赞 评论 复制链接分享
  • qq_41541756 qq_41541756 3年前

    jdk与eclipse版本不兼容,eclipse自带jdk,不用另外下载jdk,建议吧jdk删除,重新安装eclipse。如若不行,再看一下内存是否不足,可以吧程序换到内存足的系统盘,再从官网下载合适的版本

    点赞 评论 复制链接分享

相关推荐