Uninstall Eclipse under OSX?

馋奶兔 提交于 2019-11-26 15:47:18

问题


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?


回答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.




回答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.




回答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




回答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.




回答5:


In my case with High Sierra, apart from the eclipse folder, I deleted also:

  • ~/.eclipse
  • ~/.p2/pool/plugins/org.eclipse.*
  • ~/.p2/pool/.eclipseextension/
  • ~/.p2/org.eclipse.equinox.p2.repository/
  • ~/.p2/org.eclipse.equinox.p2.engine/
  • ~/.p2/org.eclipse.equinox.p2.core/



回答6:


Deleting the eclipse folder is equivalent to uninstalling it. In fact, if you don't want to tamper with the existing installation you can create another instance of eclipse and run from the new location.




回答7:


Eclipse has no impact on Mac OS beyond it directory, so there is no problem uninstalling.

I think that What you are facing is the result of Eclipse switching the plugin distribution system recently. There are now two redundant and not very compatible means of installing plugins. It's a complete mess. You may be better off (if possible) installing a more recent version of Eclipse (maybe even the 3.5 milestones) as they seem to be more stable in that regard.




回答8:


  1. From terminal, find all eclipse directories with

    sudo find / -iname "Eclipse"

  2. Delete those directories with rm command.




回答9:


BTW. AppZapper is a great OSX tool for uninstalling apps and their preferences.

It sometimes comes a part of MacHeist




回答10:


I know this thread is too old but recently I was wondering how to delete eclipse app on my MacBook Pro running macOS High Sierra.

Bellow are the steps which I followed to delete it from my system. Added screenshots for more clear understanding.

  1. Open the eclipse app and it will show an app icon in dock. If it is not already present in dock then please try to run the app from Spotlight Search by pressing + space.

  2. Now right click on that eclipse logo from dock and click Show in Finder under Options.

  1. It will open the location of the eclipse app in an external finder window.

  1. You can just delete the entire root directory (i.e. - eclipse) by pressing + delete.

  1. Don't forget to delete the app from Trash as well if you are removing it from system completely.

Thanks. Hope this helped.




回答11:


I just had a similar problem, with the GWT-PlugIn not showing up in the interface. Deleting the eclipse folder did not solve it, GWT was still there! Deleting workspace didn't work! But deleting the .eclipse folder in the home directory did! I'm working under WIndows 7 here, but it should be the same with OSX. But you may have to make the folder visible first. Under linux based system, folders starting with a dot are invisible by default.

This folder was probably the reason I had problems in the first place. If I remember right, I switched from basic Eclipse to EE, but didn't delete this folder.

In my opinion, an uninstall skript would do Eclipse quite good.




回答12:


Just delete the eclipse folder wherever it is



来源:https://stackoverflow.com/questions/470261/uninstall-eclipse-under-osx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!