Bug#340451: eclipse-sdk: eclipse can't find EclipseStarter on startup, terminates

Michael Koch konqueror at gmx.de
Sat Nov 26 10:36:54 UTC 2005


On Sat, Nov 26, 2005 at 04:01:44PM +1000, Benjamin Carlyle wrote:
> !SESSION Sat Nov 26 15:57:22 GMT+10:00 2005
> ------------------------------------!ENTRY org.eclipse.core.launcher 4 0
> 2005-11-26 15:57:22.289
> !MESSAGE Exception launching the Eclipse Platform:
> !STACK
> java.lang.ClassNotFoundException:
> org.eclipse.core.runtime.adaptor.EclipseStarter not found in
> org.eclipse.core.launcher.Main$StartupClassLoader{urls=[], parent=null}
>    at java.net.URLClassLoader.findClass(java.lang.String)
> (/usr/lib/libgcj.so.6.0.0)
>    at java.lang.ClassLoader.loadClass(java.lang.String, boolean)
> (/usr/lib/libgcj.so.6.0.0)
>    at java.lang.ClassLoader.loadClass(java.lang.String)
> (/usr/lib/libgcj.so.6.0.0)
>    at org.eclipse.core.launcher.Main.invokeFramework(java.lang.String[],
> java.net.URL[])
> (/usr/lib/eclipse/plugins.gcj/org.eclipse.platform_3.1.1/startup.jar.so)
>    at org.eclipse.core.launcher.Main.basicRun(java.lang.String[])
> (/usr/lib/eclipse/plugins.gcj/org.eclipse.platform_3.1.1/startup.jar.so)
>    at org.eclipse.core.launcher.Main.run(java.lang.String[])
> (/usr/lib/eclipse/plugins.gcj/org.eclipse.platform_3.1.1/startup.jar.so)
>    at org.eclipse.core.launcher.Main.main(java.lang.String[])
> (/usr/lib/eclipse/plugins.gcj/org.eclipse.platform_3.1.1/startup.jar.so)
>    at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
>    at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
>
> As you can see the output is consistent with that of kaffe. Is this
> adaptor.EclipseStarter class something it supposed to be looking for?
> Which package should it be coming from?

This class is in the file org.eclipse.osgi_3.1.1.jar. The following
instances of it need to exist:

$ dpkg -S org.eclipse.osgi_3.1.1.jar
eclipse-rcp-common: /usr/share/eclipse/plugins/org.eclipse.osgi_3.1.1.jar
eclipse-rcp-gcj: /usr/lib/eclipse/plugins.gcj/org.eclipse.osgi_3.1.1.jar.so
eclipse-rcp: /usr/lib/eclipse/plugins/org.eclipse.osgi_3.1.1.jar

All these files need to exist.
/usr/lib/eclipse/plugins/org.eclipse.osgi_3.1.1.jar has to be a link to
/usr/share/eclipse/plugins/org.eclipse.osgi_3.1.1.jar.

> Also for the record: I have tried eclipse installs before, both using
> older debian packages and pulling down my own copy. That copy was
> installed in /opt/eclipse, but it is possible that some residue of that
> installation might be influencing the outcome of the packaged install.

When you deleted ~/.eclipse and ~/workspace before starting up eclipse I
dont think this is the case.


Cheers,
Michael
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/




More information about the pkg-java-maintainers mailing list