java.lang.RuntimeException的:申请表] org.eclipse.ui.ide.workbench"无法在注册表中找到申请表、注册表、中找到、org

2023-09-07 12:46:46 作者:精缸互撸娃

我使用的Eclipse v21.10.1-569685和JDK版本1.7.0_13-B20 当我下载新的更新(帮助 - >安装新软件)之后的Eclipse让我重新启动软件,但我碰到这样的错误:

 会议2013年4月10号06:49:45.348 -------------------------- ---------------------
        eclipse.buildId = v21.1.0-569685
        java.version = 1.7.0_13
        java.vendor = Oracle公司
        BootLoader的常量:操作系统= Win32中,ARCH = 86,WS = Win32中,NL = EN_US
        框架参数: - 产品com.android.ide.eclipse.adt.package.product
        命令行参数:-os的win32 -ws的win32 -arch 86  - 产品com.android.ide.eclipse.adt.package.product

        !ENTRY org.eclipse.osgi 2 0 2013年4月10日06:49:47.671
        !消息中的一个或多个包都没有解决,因为下面的根约束都没有解决:
        !分项1 org.eclipse.osgi 2 0 2013年4月10日06:49:47.671
        !消息包参考:文件:插件/ org.eclipse.e4.ui.workbench.addons.swt_0.10.1.v20120827-151636.jar没有得到解决。
        !子项2 org.eclipse.e4.ui.workbench.addons.swt 2 0 2013年4月10日06:49:47.672
        !信息Missing需要捆绑org.eclipse.e4.ui.model.workbench_0.9.1。
        !分项1 org.eclipse.osgi 2 0 2013年4月10日06:49:47.672
        。
        。
        。
        。

        !ENTRY org.eclipse.osgi 4 0 2013年4月10日06:49:47.941
        !MESSAGE应用程序错误
        !STACK 1
        java.lang.RuntimeException的:应用程序org.eclipse.ui.ide.workbench无法在注册表中找到。可用的应用程序是:org.eclipse.equinox.app.error,org.eclipse.equinox.p2.director,org.eclipse.equinox.p2.garbagecollector.application,org.eclipse.equinox.p2.publisher.InstallPublisher,组织.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,组织.eclipse.equinox.p2.updatesite.UpdateSitePublisher,org.eclipse.equinox.p2.publisher.UpdateSitePublisher,org.eclipse.equinox.p2.publisher.CategoryPublisher,org.eclipse.update.core.standaloneUpdate,的org.eclipse.update .core.siteOptimizer,org.eclipse.ant.core.antRunner,org.eclipse.cdt.codan.core.application,org.eclipse.cdt.core.GeneratePDOM,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.Java codeFormatter,org.eclipse.jdt.core .JavaIndexer。
            在org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
            在org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
            在org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
            在org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
            在org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
            在org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
            在sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)
            在sun.reflect.NativeMethodAccessorImpl.invoke(来源不明)
            在sun.reflect.DelegatingMethodAccessorImpl.invoke(来源不明)
            在java.lang.reflect.Method.invoke(来源不明)
            在org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
            在org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
            在org.eclipse.equinox.launcher.Main.run(Main.java:1438)
 

我应该怎么做才能运行Eclipse?

解决方案

OK谢谢大家我找到了解决办法,这是如下:

控制面板 - RARR;查看高级系统设置 - RARR;高级选项卡和RARR;环境变量

现在你需要做的两件事情:

创建一个新的变量(点击新建按钮):

变量名: JAVA_HOME 在变量值: C:\ Program Files文件\的Java \ [您的Java版本]

编辑Path变量,这增加了该结束:

 ;%JAVA_HOME%\ BIN
 
Java开发之规范

i am using Eclipse v21.10.1-569685 and JDK version 1.7.0_13-b20 When i downloaded new updates (Help-> Install New Software) after that Eclipse asked me to restart the software, but i faced with this error:

!SESSION 2013-04-10 06:49:45.348 -----------------------------------------------
        eclipse.buildId=v21.1.0-569685
        java.version=1.7.0_13
        java.vendor=Oracle Corporation
        BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
        Framework arguments:  -product com.android.ide.eclipse.adt.package.product
        Command-line arguments:  -os win32 -ws win32 -arch x86 -product com.android.ide.eclipse.adt.package.product

        !ENTRY org.eclipse.osgi 2 0 2013-04-10 06:49:47.671
        !MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
        !SUBENTRY 1 org.eclipse.osgi 2 0 2013-04-10 06:49:47.671
        !MESSAGE Bundle reference:file:plugins/org.eclipse.e4.ui.workbench.addons.swt_0.10.1.v20120827-151636.jar was not resolved.
        !SUBENTRY 2 org.eclipse.e4.ui.workbench.addons.swt 2 0 2013-04-10 06:49:47.672
        !MESSAGE Missing required bundle org.eclipse.e4.ui.model.workbench_0.9.1.
        !SUBENTRY 1 org.eclipse.osgi 2 0 2013-04-10 06:49:47.672
        .
        .
        .
        .

        !ENTRY org.eclipse.osgi 4 0 2013-04-10 06:49:47.941
        !MESSAGE Application error
        !STACK 1
        java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench" could not be found in the registry. The applications available are: 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.update.core.standaloneUpdate, org.eclipse.update.core.siteOptimizer, org.eclipse.ant.core.antRunner, org.eclipse.cdt.codan.core.application, org.eclipse.cdt.core.GeneratePDOM, 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.
            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:353)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
            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:629)
            at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
            at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

What should i do to run the Eclipse?

解决方案

OK thanks everyone I found the solution, which was the following:

Control Panel → View advanced system settings → Advanced tab → Environment Variables

Now you have to do 2 things:

Create a new variable (click the New button):

Variable name: JAVA_HOME Variable value: C:\Program Files\Java\[your Java Version]

Edit the Path variable and add this to the end of that:

;%JAVA_HOME%\bin