Bug#342789: eclipse: Eclipse crashes at startup

xavier.gnata at free.fr xavier.gnata at free.fr
Fri Dec 16 09:42:05 UTC 2005


Quoting Michael Koch <konqueror at gmx.de>:

> On Sat, Dec 10, 2005 at 10:56:22PM +0100, xavier.gnata at free.fr wrote:
> > Quoting Stephan Michels <stephan.michels at gmail.com>:
> >
> > > > No pb. I'm sorry but I'm a "eclipse/java devel" beginner so I don't
> know
> > > what
> > > > could help.
> > >
> > > Your help is very appreciated. AFAICS your installation seems to be fine.
> > >
> > > > ii  libgcj6-src                    4.0.2-5j2                     libgcj
> > > java
> > > > sources for use in eclipse
> > >
> > > Interesting! Didn't know this one.
> > >
> > > Can you execute following line for me and send the logfile, maybe we
> > > can get more information by this.
> > > "eclipse -consolelog -debug | tee eclipse.log"
> > >
> > > Which architecture do you use?
> > >
> > > Thank you.
> >
> > Hi,
> >
> > searching for compatible vm...
> >   testing /usr/lib/jvm/java-gcj...found
> > Install location:
> >     file:/usr/lib/eclipse/
> > Configuration file:
> >     file:/usr/lib/eclipse/configuration/config.ini loaded
> > Configuration location:
> >     file:/home/gnata/.eclipse/org.eclipse.platform_3.1.1/configuration/
> > Configuration file:
> >
> >
> file:/home/gnata/.eclipse/org.eclipse.platform_3.1.1/configuration/config.ini
> > not found or not read
> > Shared configuration location:
> >     file:/usr/lib/eclipse/configuration/
> > Framework located:
> >     file:/usr/lib/eclipse/plugins/org.eclipse.osgi_3.1.1.jar
> > Framework classpath:
> > Splash location:
> >     /usr/lib/eclipse/plugins/org.eclipse.platform_3.1.1/splash.bmp
> > runCommand:
> >
> >
>
</usr/lib/eclipse/eclipse><-name><Eclipse><-showsplash><600></usr/lib/eclipse/plugins/org.eclipse.platform_3.1.1/splash.bmp>
> > runCommand:
> >     </usr/lib/eclipse/eclipse><-name><Eclipse><-exitdata><3380004><An error
> has
> > occurred.  See the log file
> >
>
/home/gnata/.eclipse/org.eclipse.platform_3.1.1/configuration/1134251035166.log>
> > Start VM: /usr/lib/jvm/java-gcj/bin/java
> > -Djava.library.path=/usr/lib/jni
> > -Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.0/classmap.db
> > -Dosgi.locking=none
> > -jar /usr/lib/eclipse/startup.jar
> > -os linux
> > -ws gtk
> > -arch x86
> > -launcher /usr/lib/eclipse/eclipse
> > -name Eclipse
> > -showsplash 600
> > -exitdata 3380004
> > -install /usr/lib/eclipse
> > -consolelog
> > -debug
> > -vm /usr/lib/jvm/java-gcj/bin/java
> > -vmargs
> > -Djava.library.path=/usr/lib/jni
> > -Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.0/classmap.db
> > -Dosgi.locking=none
> > -jar /usr/lib/eclipse/startup.jar
> >
> > and of courses it still crashes.
> >
> > I'm running a basic i386 under an daily updated sid.
> >
> > I hope it is not only much ado about nothing because I used to use sun jre.
> > I still have libjavaplugin_oji.so for instance (and firefox java plugin
> works
> > just fine.)
> > I have installed sun jre building these 2 pacakges :
> > sun-j2re1.5_1.5.0+update05_i386.deb + sun-j2sdk1.5_1.5.0+update05_i386.deb
> > There are unoffical ones but it was prior gcj arrives.
> >
> > Then, I have only "apt-get install eclipse".
>
> Can you please try moving the ~/.eclipse directory away (by renaming it)
> and then try again?
>
> Please try the following command and send us the output:
>
> ls -l /usr/share/eclipse/plugins/org.eclipse.osgi_3.1.1.jar
> /usr/lib/eclipse/plugins/org.eclipse.osgi_3.1.1.jar
>
>
> Thanks for your help,
>
> Michael
> --
> Escape the Java Trap with GNU Classpath!
> http://www.gnu.org/philosophy/java-trap.html
>
> Join the community at http://planet.classpath.org/
>

Hi,

I have already tried to remove my ~/.eclipse but it did not help.


$>ls -l /usr/share/eclipse/plugins/org.eclipse.osgi_3.1.1.jar
/usr/lib/eclipse/plugins/org.eclipse.osgi_3.1.1.jar
lrwxrwxrwx 1 root root     57 2005-12-16 00:37
/usr/lib/eclipse/plugins/org.eclipse.osgi_3.1.1.jar ->
../../../share/eclipse/plugins/org.eclipse.osgi_3.1.1.jar
-rw-r--r-- 1 root root 748300 2005-12-01 10:21
/usr/share/eclipse/plugins/org.eclipse.osgi_3.1.1.jar

I have no java from sun anymore on my box.

I have try to purge all my eclipse installation (apt-get remove --purge
eclipse*) and to reinstall but it did not help.

After this eclipse reinistall, I have tried eclipse -debug.
Here is the first lines of log file :

!SESSION 2005-12-16 10:34:11.999 -----------------------------------------------
eclipse.buildId=M20050929-0840
java.fullversion=GNU libgcj 4.0.3 20051204 (prerelease) (Debian 4.0.2-5j2)
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86 -debug

!ENTRY org.eclipse.osgi 2005-12-16 10:34:15.37
!MESSAGE Bundle update at plugins/org.eclipse.jface_3.1.1.jar [10] was not
resolved.
!SUBENTRY 1 org.eclipse.osgi 2005-12-16 10:34:15.37
!MESSAGE Missing required bundle org.eclipse.swt_0.0.0.
!ENTRY org.eclipse.osgi 2005-12-16 10:34:15.39
!MESSAGE Bundle update at plugins/org.eclipse.ui_3.1.1.jar [11] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2005-12-16 10:34:15.40
!MESSAGE Missing required bundle org.eclipse.swt_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2005-12-16 10:34:15.40
!MESSAGE Missing required bundle org.eclipse.jface_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2005-12-16 10:34:15.40
!MESSAGE Missing required bundle org.eclipse.ui.workbench_0.0.0.


What is the best way to remove *all* the eclipse and java related files from my
box (packages but also .eclipse and so on). I would like to do as clean as
possbile install of eclipse (I would like to be sure there is no crappy file in
my eclipse install).

If this bug is related to a crappy file which is not under control of eclipse
packages, I do apologize for the noise.

Xavier.




More information about the pkg-java-maintainers mailing list