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

Benjamin Carlyle benjamincarlyle at optusnet.com.au
Sun Nov 27 11:50:30 UTC 2005


On Sat, 2005-11-26 at 11:36 +0100, Michael Koch wrote:
> On Sat, Nov 26, 2005 at 04:01:44PM +1000, Benjamin Carlyle wrote:
> > 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

Here is my output:
$ 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

This looks identical to me... but,

> 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.

Ahah!
/usr/lib/eclipse/plugins/org.eclipse.osgi_3.1.1.jar points
to ../../../share/eclipse/plugins/org.eclipse.osgi_3.1.1.jar
(/usr/share/...),
but /usr/share/eclipse/plugins/org.eclipse.osgi_3.1.1.jar does not
exist.

I have just purged eclipse-rcp-common and reinstalled. This picked up
eclipse-rcp-common_3.1.1-5, and the file now exists. Eclipse starts.
Problem solved!

This leaves me wondering how it could have come about in the first
place. It may have been a different eclipse-rcp-common, but then it
shouldn't have shown up in the dpkg -S. Perhaps the install just went
strangely awry.

Thanks for your help :)

-- 
Benjamin Carlyle <benjamincarlyle at optusnet.com.au>





More information about the pkg-java-maintainers mailing list