Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I was using eclipse Juno (ver 4.2.1) on my 64bit ubuntu 12.04 for almost a month or more. It was working perfectly and I really enjoyed working on it.

However two days back I upgraded my machine to Ubuntu 12.10 since than eclipse Juno is working strangely irritating. It crashes frequently. I even removed the old installation completely and reinstalled everything (ADT, Subclipse, CDT etc.)

What could be the possible reason behind this ? How I solve it ?

share|improve this question
    
Thanks - I found this provids stability running Kepler SR2 on Ubuntu 14.04 using Oracle JDK 1.7.0.55. Without -Dorg.eclipse.swt.browser.DefaultType=mozilla eclipse was crashing frequently. –  user273436 Apr 24 at 5:50

5 Answers 5

up vote 6 down vote accepted

I have similar problem with my Ubuntu 12.10 and Eclipse Juno 4.2.

So every now and then, when I switch between applications, my Eclipse crashes. It simply closes itself with some error screen with a lot's of gtk libs mentioned. I've got info screen that this crash report will be sent for further analysis.

Then I've search on the net, and found this bug report in eclipse: https://bugs.eclipse.org/bugs/show_bug.cgi?id=382812

Following this bug, at the end you will find that it is confirmed on: Eclipse SDK 4.2.0

And it will be solved in Eclipse 4.3.

One of possible solution is to download latest Eclipse nightly buid, but I've switched back to Eclipse Indigo and will wait for official Eclipse 4.3

share|improve this answer

After many many permutations of everything, including all the different JDKs, etc., etc. ..

This worked for me (Fedora19/64, ADT 4.3/SDK 22.x,OpenJDK 1.8, Opteron64): add this line to the eclipse.ini file:

-Dorg.eclipse.swt.browser.DefaultType=mozilla

Apparently the tooltip bits launch different browsers at different times with "collisions", but restricting to mozilla only seems to do the trick

Source: https://bugs.launchpad.net/ubuntu-gnome/+bug/1163501

share|improve this answer
    
I think you saved my day! This seems to fix the problem I was having with eclipse sincve I switched to Trusty... Thanks a lot. –  alci Jan 27 at 17:44

I had the same problem, post upgrade eclipse started crashing. I removed Eclipse Juno(4.2) and installed eclipse from software centre (v 3.8).

share|improve this answer
    
Did all your programs crashes same time or it is just the eclipse Juno ? In my case after freeze of few seconds the title bar of all the application disappears. Leaving a dirty desktop with no mouse / keyboard working. this is really annoying ? please help!!! –  Amit Nov 27 '12 at 7:38

Install Oracle JDK instead of Open JDK from here http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html

I tried installing Eclipse Juno (SR1, SR2) , Eclipse classic, Eclipse Indigo SR2, Old Eclipse classic. Each one crashed like hell on Ubuntu 12.10. Finally after installing Oracle JDK, it stopped crashing (using Indigo SR2)

PS : Its still crashing few times but much better than before. It especially crashes while using tomcat. Hence while coding, modify your application as Java Desktop Application using (main function temporarily) and finally when everything is done, run it as web application by removing main function.

share|improve this answer

Try to paste the following line inside configuration>config.ini

org.eclipse.swt.browser.DefaultType=mozilla
share|improve this answer

protected by Community Oct 19 at 16:48

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.