I did a fresh install of Ubuntu 16.04 (64 bit, 4.4.0-31-generic
) and downloaded the eclipse neon installer and installed eclipse (not as root) in the ~/opt/
directory I created. Eclipse works fine and I am programming in Java, but after a little while (sometimes a few minutes, sometimes 30 minutes) eclipse suddenly crashes. My mouse moves but I can't click anything anywhere. About 10 seconds later the mouse also crashes and stops moving and the computer becomes unresponsive, and which point I have to hold the power button to turn off the laptop and start it up again.
Any ideas what this might be or possible fixes? I've tried reinstalling eclipse (by removing the installation directory and reinstalling), I've redownloaded the installer again also but no luck. I haven't experienced this problem with other applications yet so I'm presuming it's an eclipse problem.
I've installed openjdk-8-jre
and openjdk-8-jdk.
EDIT: Apparently it's been marked as a duplicate question as what to do when Ubuntu crashes, but this issue has been arising while using eclipse. I'm not asking what I should do when it crashes, I'm asking what I should do to stop it crashing in the first place.
SWT_GTK3=0 ./eclipse
just to see if there's any difference. – gsxruk Jan 27 '17 at 13:37