Problems starting Eclipse


While trying to install a plugin, i’ve made some mess which resulted in Eclipse not starting, giving the following error in the log file:

!SESSION Tue Nov 09 15:18:43 CET 2010 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2010-11-09 15:18:43.233
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
 at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:556)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
 at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

That’s what happen when you force the removal of some files 🙂

I solved the problem purging libequinox-osgi-java and reinstalling Eclipse. Try with:

sudo apt-get remove --purge libequinox-osgi-java
sudo apt-get install eclipse