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

Benjamin Carlyle benjamincarlyle at optusnet.com.au
Sat Nov 26 06:01:44 UTC 2005


On Wed, 2005-11-23 at 16:27 +0100, Michael Koch wrote:
> For gcj: Make sure you have the gcj-4.0 and java-gcj-compat packages
> installed. Binutils needs to be at least 2.16.1cvs20051117-1.
> Trying to track down this bug: please install all eclipse-*-gcj packages
> and report back if this changes anything. Please delete ~/.eclipse and
> ~/workspace before each try to start up eclipse.

I have binutils 2.16.1cvs20051117-1. I have just performed the following
$ apt-get install eclipse-jdt-gcj eclipse-pde-gcj eclipse-platform-gcj
eclipse-rcp-gcj gcj-4.0 java-gcj-compat

The eclipse startup script now says:
$ rm -rf ~/.eclipse ~/workspace/; eclipse
searching for compatible vm...
  testing /usr/lib/jvm/java-gcj...found

before bringing up the same dialogue as it does for kaffe. Here is the
log content:

!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:
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)
   at java.lang.ClassLoader.loadClass(java.lang.String, boolean)
   at java.lang.ClassLoader.loadClass(java.lang.String)
   at org.eclipse.core.launcher.Main.invokeFramework(java.lang.String[],
   at org.eclipse.core.launcher.Main.basicRun(java.lang.String[])
   at org.eclipse.core.launcher.Main.run(java.lang.String[])
   at org.eclipse.core.launcher.Main.main(java.lang.String[])
   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?

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.

> Thanks for testing

No, thank you for promoting Java on the free desktop :)
Eclipse is a vital component of promoting acceptance of the environment.
Sorry for the slow turnaround on responding. I tend to only work on this
stuff over my weekend.

Benjamin Carlyle <benjamincarlyle at optusnet.com.au>

More information about the pkg-java-maintainers mailing list