Eclipse is not starting in 9.10 at all. No errors are reported.

Bug #450980 reported by Haiodo
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: eclipse

Ubuntu 9.10 fully updated.
Installed
eclipse 3.5.1-0ubuntu2
eclipse-rcp 3.5.1-0ubuntu2
eclipse-platform 3.5.1-0ubuntu2
eclipse-platform-data 3.5.1-0ubuntu2
eclipse-pde 3.5.1-0ubuntu2
eclipse-plugin-cvs 3.5.1-0ubuntu2
eclipse-jdt 3.5.1-0ubuntu2
eclipse-sdk 3.4.1-1 -- why 3.4.1?

and java:
java-common
sun-java6-bin 6-15-1
ia32-sun-java6-bin 6-15-1
sun-java6-jre 6-15-1

Then I start eclipse from console, I've no see any output or any kind of activity.

ProblemType: Bug
Architecture: amd64
Date: Wed Oct 14 11:47:53 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: fglrx
Package: eclipse 3.5.1-0ubuntu2
ProcEnviron:
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.46-generic
SourcePackage: eclipse
Uname: Linux 2.6.31-14-generic x86_64
XsessionErrors:
 (gnome-settings-daemon:9841): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (gnome-settings-daemon:9841): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (nautilus:9868): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (polkit-gnome-authentication-agent-1:9918): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (gnome-panel:9867): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -1 and height 24

Revision history for this message
Haiodo (haiodo) wrote :
Revision history for this message
Haiodo (haiodo) wrote :

Eclipse error log

Revision history for this message
Benjamin Drung (bdrung) wrote :

Can you remove eclipse-sdk and try again?

Changed in eclipse (Ubuntu):
status: New → Incomplete
Revision history for this message
LuitvD (luitvd-gmail) wrote :

I have the same problem, and have no eclipse-sdk installed. Never have.

Strange thing is that this problem seems to have the same source as my NetBeans installation not working properly anymore. This might be a problem bigger than just eclipse...

Netbeans shows this error when trying to start a new Project: java.lang.NoSuchMethodError: org.jdesktop.layout.GroupLayout.access$500(IIIZ)V

Revision history for this message
LuitvD (luitvd-gmail) wrote :

A clean install of both Eclipse and NetBeans (on a different computer) work perfectly, so I went on trying with my laptop and found that removing the configuration makes it start again.

Just gotten both Eclipse and NetBeans to start using the same standard troubleshooting trick.

Revision history for this message
Haiodo (haiodo) wrote :

No removal of eclipse-sdk not solves the issue.
Actually I've also have clean install of eclipse.

Benjamin Drung (bdrung)
Changed in eclipse (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Lele Long (schemacs) wrote :

when will this bug be fixed?after 29?the console give no error message at all,and neither log can be found under the eclipse root path!

Revision history for this message
Benjamin Drung (bdrung) wrote :

Can you upgrade to eclipse 3.5.1-0ubuntu6 and report your experience?

Changed in eclipse (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Paul Andralouis (pandralouis) wrote :

I have downloaded standard linux eclipse php version from the eclipse website. It starts, but there seems to be some sort of file access problem with doing updates. I tried to install the bzr-eclipse plugin, and it fails.

Originally I had upgraded the machine, and started having strange problems with eclipse failing to create directories. I tried a fresh install, and it looks like there is something strange going on given the inability to install a plugin. I haven't tried to otherwise work with it since the fresh ubuntu and eclipse install.

It looks like some sort of file access problem, possibly with Sun Java.

Revision history for this message
priyankgandhi (priyankgandhi) wrote :

I am also having the same issue. I dnt know how but I was able to start in once.

Revision history for this message
svins (jg-svins) wrote :

I have the same problems with eclipse with Kubuntu 9.10 RC 64 bit like Paul Andralouis has.

Revision history for this message
kandy (to-kandy) wrote :

I have the same problems.

I do:
rm -rf ~/.eclipse

extract
eclipse-php-galileo-SR1-linux-gtk.tar.gz to ~/eclipse
chown -R {my user}:{my group} ~/eclipse
run
~/eclipse/eclipse
then eclipse start normal
==========================
maybe problem in access, please verify it

Revision history for this message
Mathieu (mathieu-rondonneau) wrote :

The workaround:
#!/bin/sh
export GDK_NATIVE_WINDOWS=1
/[ECLIPSE-PATH]/eclipse

posted here:
http://www.norio.be/blog/2009/10/problems-eclipse-buttons-ubuntu-910

fixes the problem for me.

Revision history for this message
Mauro De Lucca (pcniatic) wrote :

I did have the same problem. I solved it changing my default java with 'sudo update-alternatives --config java', ia32-sun-java6 was set as default and I changed for sun-java6.

Revision history for this message
mg (magnus-gylfason) wrote :

Mauro De Lucca's solution (#14) did the trick for me. It was set to '/usr/bin/gij-4.4' but after changing it to '/usr/lib/jvm/java-6-sun/jre/bin/java' Eclipse started again.

Revision history for this message
Benjamin Drung (bdrung) wrote :

When using the 32 bit version of the Java virtual machine on a 64 bit system, then eclipse won't start. The solution is to change the default Java virtual machine to java-6-openjdk or sun-java6 by running 'sudo update-alternatives --config java'. Thanks Mauro for the solution. Therefore I close this bug report.

Changed in eclipse (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Kaxsp (kazjako) wrote :

Thanks Mauro, it works for me too.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.