Bug#446328: eclipse: Welcome Screen Fails to Start, Displays Error

Michael Koch konqueror at gmx.de
Fri Oct 12 05:58:15 UTC 2007


On Thu, Oct 11, 2007 at 10:30:39PM -0700, Leo L. Schwab wrote:
> Package: eclipse
> Version: 3.2.2-4
> Severity: important
> 
> 	Attempts to open the Welcome screen result in a pane with an
> error describing an inability to load a class.  The topmost error is:
> 
> java.lang.ClassNotFoundException: org.eclipse.core.runtime.Plugin
> 
> 	This can most easily be reproduced by starting eclipse 'clean',
> that is, without any pre-existing 'workspace' or '.eclipse' directories.
> Eclipse will attempt to display the Welcome screen, but fail.  Other
> panes *seem* to work correctly, but I'm not very experienced with
> eclipse so I can't speak to that (I'm trying to learn the darned thing,
> but I keep finding bugs.)

This looks like the eclipse-rcp package is not installed, not uptodate,
to something like that. Please make sure to install the 'eclipse'
package to have all needed packages installed. Please check also that
eclipse-platform is uptodate.

> 	I have the Sun JVM installed, but eclipse seems to be defaulting
> to gcj.  Perhaps my Debian 'alternatives' are messed up?  They're set up
> as:
> 
> walkies:/etc# update-alternatives --display java_vm
> java_vm - status is auto.
>  link currently points to /usr/lib/jvm/java-6-sun/jre/bin/java_vm
> /usr/lib/jvm/java-6-sun/jre/bin/java_vm - priority 63
> Current `best' version is /usr/lib/jvm/java-6-sun/jre/bin/java_vm.
> 
> walkies:/etc# update-alternatives --display java
> java - status is auto.
>  link currently points to /usr/lib/jvm/java-gcj/jre/bin/java
> /usr/lib/jvm/java-6-sun/jre/bin/java - priority 63
>  slave java.1.gz: /usr/lib/jvm/java-6-sun/jre/man/man1/java.1.gz
> /usr/bin/gij-4.1 - priority 41
> /usr/bin/gij-4.2 - priority 42
>  slave java.1.gz: /usr/share/man/man1/gij-4.2.1.gz
> /usr/lib/jvm/java-gcj/jre/bin/java - priority 1042
> Current `best' version is /usr/lib/jvm/java-gcj/jre/bin/java.

eclipse doesnt use the alternatives mechanism (yet). It has its own
mechanism. To overwrite runtime search order please edit
/etc/eclipse/java_home or use one of the other ways described in the
eclipse manpage.


Cheers,
Michael





More information about the pkg-java-maintainers mailing list