Application "org.eclipse.ui.ide.workbench" not found in the registry

I am trying to create an RCP application as executed here .

Unfortunately, I get an error message that doesn't make much sense to me. Perhaps one of you has an idea.

!SESSION 2013-07-12 14:31:25.331 ----------------------------------------------- eclipse.buildId=unknown java.version=1.7.0_07 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE Framework arguments: -application org.eclipse.ui.ide.workbench Command-line arguments: -application org.eclipse.ui.ide.workbench -data C:\Users\ccoen\Desktop\workspace/../runtime-de.vogella.rcp.editor.example.application -dev file:C:/Users/ccoen/Desktop/workspace/.metadata/.plugins/org.eclipse.pde.core/de.vogella.rcp.editor.example.application/dev.properties -os win32 -ws win32 -arch x86 -consoleLog !ENTRY org.eclipse.osgi 4 0 2013-07-12 14:31:25.721 !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.ant.core.antRunner, org.eclipse.equinox.app.error. 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:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) at org.eclipse.equinox.launcher.Main.main(Main.java:1386) 
+4
source share
4 answers

Ok, it's done. I had to add "org.eclipse.core.runtime.applications" to my extensions.

+3
source

Another approach that worked for me when I was developing the Eclipse plugin (and not the standalone RCP application) and getting the exception " java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench" could not be found in the registry. " (I found this SO thread when sending this error, and also found the following):
https://www.eclipse.org/forums/index.php?t=msg&th=155457&goto=820447&#msg_820447

You need to go to "Run Configurations ...", and on the "Plug-ins" tab you also need to org.eclipse.ui.ide.application plugin. That's all (or you may need org.eclipse.core.net , I don't need it).

I used to click "Add required plug-ins", "Check plug-ins", but none of them flagged this plugin as needed, so I got this exception all the time when I wanted to start a new instance of Eclipse. By adding it manually, the problem disappeared.

+1
source

For error message

java.lang.RuntimeException: The application "org.eclipse.ui.ide.workbench" could not be found in the registry.

The simplest solution I have found is to add a plugin called 'org.eclipse.equinox.simpleconfigurator' . This is especially important for the latest versions of eclipse (in my case, Neon.3 v4. *).

0
source

The easiest way to solve this problem in Eclipse:

 -> Go to "Run" and select "Run Configurations" -> Go to "Plug-ins"-Tab and hit the "Add Required Plug-ins"-Button -> Than Apply! 

Eclipse will automatically select all the necessary modules.

0
source

Source: https://habr.com/ru/post/1491116/


All Articles