Uninstall Eclipse under OSX?

I'm running Eclipse SDK 3.4.0 on Mac OS X 10.5.6.

Every time I try to install something new through "software updates", the message "The software items you selected may not be valid with your current installation" shows up.

So I'm going to uninstall it and re-install Eclipse.

Should I just erase the Eclipse folder or is there a way to uninstall it?


Solution 1:

Actually Eclipse does create some other files not within it's directory which survive deleting it's directory.

In Snow Leopard, look in your user's account under:

  • ~/Library/Caches/org.eclipse.eclipse
  • ~/Library/Preferences/org.eclipse.eclipse.plist

Not sure if you need to turn on viewing of hidden files to see those.

Solution 2:

Under Lion I deleted the following files and folders:

  • eclipse in /Applications (obviously)

  • .eclipse in ~

  • .eclipse_keyring in ~

  • org.eclipse.eclipse in ~/Library/Caches

  • org.eclipse.eclipse.savedState in ~/Library/Saved Application State/

Some of them are hidden so you should delete them via Terminal.

Solution 3:

Here is my list of things to delete for OSX Mountain Lion

~/.eclipse (folder);

~/Library/Saved Application/org.eclipse.eclipse.savedState;

~/Library/Preferences/org.eclipse.eclipse.plist;

~/Library/Caches/org.eclipse.eclipse;

... and of course the eclipse install folder

Solution 4:

No need to uninstall anything, you can just delete the eclipse/ folder, but you should also use a fresh workspace or delete the workspace/.metadata folder.