为了账号安全,请及时绑定邮箱和手机立即绑定

关于eclipse启动不了的问题

关于eclipse启动不了的问题

weibo_那是什么叨_03580699 2018-01-10 18:32:42
关于eclipse启动不了的问题:之前还是可以的,没什么问题,上次可能是非法关闭吧,具体原因不知;求解决办法(不要重装),下面是日志包旭哦信息:!ENTRY org.eclipse.osgi 4 0 2018-01-10 16:22:13.907!MESSAGE Application error!STACK 1java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.e4.ui.workbench.swt.E4Application, org.eclipse.e4.ui.workbench.swt.GenTopic, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.director, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.EclipseGenerator, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher, org.eclipse.equinox.p2.reconciler.application, org.eclipse.equinox.p2.repository.repo2runnable, org.eclipse.equinox.p2.repository.metadataverifier, org.eclipse.equinox.p2.artifact.repository.mirrorApplication, org.eclipse.equinox.p2.metadata.repository.mirrorApplication, org.eclipse.equinox.p2.updatesite.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.CategoryPublisher, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool, org.eclipse.jdt.apt.core.aptBuild, org.eclipse.jdt.core.JavaCodeFormatter, org.eclipse.jdt.core.JavaIndexer, org.eclipse.pde.build.Build, org.eclipse.pde.junit.runtime.uitestapplication, org.eclipse.pde.junit.runtime.legacytestapplication, org.eclipse.pde.junit.runtime.coretestapplication, org.eclipse.pde.junit.runtime.coretestapplicationnonmain, org.eclipse.pde.junit.runtime.nonuithreadtestapplication. at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248) at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181) 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:636) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
查看完整描述

1 回答

已采纳
?
书生

TA贡献12条经验 获得超4个赞

是否最近升级了Java?

如果是,打开eclipse.exe 安装目录下 eclipse.ini 

把Java对应的路径修改一下

就行了

查看完整回答
反对 回复 2018-01-13
  • weibo_那是什么叨_03580699
    weibo_那是什么叨_03580699
    你好,最近确实升级过java,但是原来也没有在eclipse. ini文件中配置过java,我eclipse目录下添加过一个jre。这个设置java路径试过了,最后把java换成原来那个,还是打不开...
  • 书生
    书生
    eclipse在最开始执行的时候,会自动设置一个java路径。jre应该没有用,应该是要设置jdk的路径。看看eclipse.ini里,是否有之前的java jdk路径
  • 书生
    书生
    eclipse在最开始执行的时候,会自动设置一个java路径。jre应该没有用,应该是要设置jdk的路径。看看eclipse.ini里,是否有之前的java jdk路径
点击展开后面3
  • 1 回答
  • 0 关注
  • 2623 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信