Eclipse doesn't start

I recommend for greater ease and comfort:

sudo apt --remove purge eclipse

or

sudo apt --remove purge netbeans

and install form SNAP:

sudo snap install eclipse --classic

or

sudo snap install netbeans --classic


I recommend installing the Eclipse snap package which is also more up-to-date (Eclipse IDE for Java Developers version 4.7.3):

sudo snap install eclipse --classic  

You can install snap packages alongside apt packages in order to try them, and afterwards remove the Eclipse apt package if you like the snap package better.


I was getting this error:

$ sudo snap install eclipse --classic  
error: snap "eclipse" has "install-snap" change in progress

Tried for long to resolve it and finally this worked out for me:

Run command:

$ snap changes

and check if its output says "Doing", something like this:

ID   Status  Spawn               Ready  Summary
92   Doing   today at 15:17 IST  -      Install "eclipse" snap

If yes, you can just abort this by using command :

sudo snap abort 92

where, 92 is ID.

Then, if you run install command again, it works fine.

sudo snap install eclipse --classic

Hope this helps someone.