开发者社区> 问答> 正文

打开eclipse报错,折腾了一天了?报错

打开eclipse,报错

eclipse.buildId=unknown
java.version=1.7.0_80
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
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 2016-07-19 17:01:47.354
!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(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:673)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

展开
收起
爱吃鱼的程序员 2020-06-09 13:17:09 1094 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    解决了吗?应该是你eclipse和jdk的位数不一致导致的,跟JDK有毛关系呀,还没弄项目,只是进入,看安装的版本是什么,如果系统是64位的,那jdk要64位的,eclipse也要64位的。。。你卸载jdk时,要看是不是卸载干净啦?
    eclipse是官网最新的64位的,jdk是1.764位的
    Eclipse最新版的话,换用JDK1.8试一下。应该是Eclipse需要JDK1.8

    <spanstyle="font-size:16px;">要学会问问题,把问题描述清楚。不要浪费彼此的时间。回答问题的人浪费时间了,你也浪费时间。

    是刚下载下来安装的的eclipse就出问题了,还是用过的eclipse?

    如果说是全新安装的,什么都没做,给出操作系统,JDK,eclipse的版本和位数。
    如果说是用过的或者你改了啥,突然就打不开了,说出你最近对它做了啥。

    根据报错Ensurethattheorg.eclipse.core.runtimebundleisresolvedandstarted(seeconfig.ini). 我怀疑是你升级了或者擅自修改了安装目录下configuration\config.ini配置文件eclipse造成的,你可以找别人的config.ini文件覆盖下。或者是你修改了根目录下的eclipse.ini

    这里有类似问题:<atarget="_blank"rel="nofollow">http://stackoverflow.com/questions/2493415/unable-to-acquire-application-service-error-while-launching-eclipse

    <divclass='ref'>

    引用来自“南湖船老大”的评论

    <spanstyle="font-size:16px;">要学会问问题,把问题描述清楚。不要浪费彼此的时间。回答问题的人浪费时间了,你也浪费时间。

    是刚下载下来安装的的eclipse就出问题了,还是用过的eclipse?

    如果说是全新安装的,什么都没做,给出操作系统,JDK,eclipse的版本和位数。
    如果说是用过的或者你改了啥,突然就打不开了,说出你最近对它做了啥。

    根据报错Ensurethattheorg.eclipse.core.runtimebundleisresolvedandstarted(seeconfig.ini). 我怀疑是你升级了或者擅自修改了安装目录下configuration\config.ini配置文件eclipse造成的,你可以找别人的config.ini文件覆盖下。或者是你修改了根目录下的eclipse.ini

    这里有类似问题:<atarget="_blank"rel="nofollow">http://stackoverflow.com/questions/2493415/unable-to-acquire-application-service-error-while-launching-eclipse

    之前我碰到过的是,jdk版本不够,eclipse都打不开我也分析了很长时间,应该是需要jdk1.8的<divclass='ref'>

    引用来自“梦天126”的评论

    之前我碰到过的是,jdk版本不够,eclipse都打不开@<atarget="_blank"rel="nofollow">南湖船老大老师,您好。我在官网下载了最新的eclipse,本地安装了1.6版本的jdk,eclipse安装好以后打开提示与上图类似的信息。我自己在网上查找了一些资料自己分析了一下,觉得是jdk版本不够,于是换成jdk1.7的,也参照网上说的一些方法修改了eclipse.ini配置文件。现在就出现了以上的问题。

    2020-06-09 13:17:26
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载

相关镜像