Unable to run Java applications in Eclipse

Possible duplicate:
Unable to run / debug Java applications in Eclipse (JavaTimeZone issue)

The eclipse eclipse failed.

When I try to run a Java application, I get the following:

An internal error occurred during: "Launching (app name)". org/eclipse/jdt/debug/core/JDIDebugModel 

An attempt to debug yields the following results:

 An internal error occurred during: "Launching (app name)". com/sun/jdi/connect/IllegalConnectorArgumentsException 

Opening startup configurations, I get the following:

 Exception occurred creating launch configuration tabs Reason: Plug-in org.eclipse.jdt.debug.ui was unable to load class org.eclipse.jdt.internal.debug.ui.launcher.LocalJavaApplicationTabGroup An error occurred while automatically activating bundle org.eclipse.jdt.debug.ui (322). 

Going to any launch configuration for a Java application also gives an error message:

 No tabs defined for launch configuration type Java Application 

I can not run Java applications. I can remove them from Run Configurations, but that’s it. Try to run the application, for example. the package explorer does nothing. For example, I can run Android applications.

I have Indigo Service Release 2 version, Java EE IDE version on Ubuntu 12.04 / Gnome 3.4.2.1.

Is there any way to fix this? Should I just reinstall Eclipse, maybe the old version?

btw: error messages are the same as Cannot start / debug Java applications in Eclipse (JavaTimeZone problem) but I do not have GPE installed and these are Java applications and not web applications that fail.

+6
source share

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


All Articles