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

!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个回答

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

sinat_34344123
lvgo 回复weixin_41243159: 链接: https://pan.baidu.com/s/15-9CIRZXG14jhxf4OBQgLQ提取码: ufxq 复制这段内容后打开百度网盘手机App,操作更方便哦
一年多之前 回复
weixin_41243159
aya格 我也有同样的问题。。。。能再分享一下吗?
一年多之前 回复

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

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

weixin_40371800
mashiro_dell 版本都是64位的,内存也够啊
接近 3 年之前 回复

win10还是什么平台

weixin_40371800
mashiro_dell win10
接近 3 年之前 回复

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

X是你的安装盘符

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

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

问题已解决,谢谢大家

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

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

共14条数据 1 尾页
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问