在 OSX 下卸载 Eclipse?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/470261/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Uninstall Eclipse under OSX?
提问by yogman
I'm running Eclipse SDK 3.4.0 on Mac OS X 10.5.6.
我在 Mac OS X 10.5.6 上运行 Eclipse SDK 3.4.0。
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.
所以我要卸载它并重新安装Eclipse。
Should I just erase the Eclipse folder or is there a way to uninstall it?
我应该删除 Eclipse 文件夹还是有办法卸载它?
回答by Spanky
Actually Eclipse does create some other files not within it's directory which survive deleting it's directory.
实际上 Eclipse 确实创建了一些不在它的目录中的其他文件,这些文件在删除它的目录后仍然存在。
In Snow Leopard, look in your user's account under:
在 Snow Leopard 中,在您的用户帐户下查看:
~/Library/Caches/org.eclipse.eclipse
~/Library/Preferences/org.eclipse.eclipse.plist
~/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.
不确定是否需要打开隐藏文件的查看才能看到这些文件。
回答by j7nn7k
Under Lion I deleted the following files and folders:
在 Lion 下,我删除了以下文件和文件夹:
eclipsein
/Applications
(obviously).eclipsein
~
.eclipse_keyringin
~
org.eclipse.eclipsein
~/Library/Caches
org.eclipse.eclipse.savedStatein ~/Library/Saved Application State/
蚀中
/Applications
(显然).eclipse中
~
.eclipse_keyring中
~
org.eclipse.eclipse中
~/Library/Caches
org.eclipse.eclipse.savedState在 ~/Library/Saved Application State/
Some of them are hidden so you should delete them via Terminal.
其中一些是隐藏的,因此您应该通过终端删除它们。
回答by javahead76
Here is my list of things to delete for OSX Mountain Lion
这是我要为 OSX Mountain Lion 删除的内容列表
~/.eclipse (folder);
~/.eclipse (文件夹);
~/Library/Saved Application/org.eclipse.eclipse.savedState;
~/Library/Saved Application/org.eclipse.eclipse.savedState;
~/Library/Preferences/org.eclipse.eclipse.plist;
~/Library/Preferences/org.eclipse.eclipse.plist;
~/Library/Caches/org.eclipse.eclipse;
~/Library/Caches/org.eclipse.eclipse;
... and of course the eclipse install folder
...当然还有eclipse安装文件夹
回答by Fabian Steeg
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.
无需卸载任何东西,您可以删除 eclipse/ 文件夹,但您也应该使用新的工作区或删除 workspace/.metadata 文件夹。
回答by Yasser
In my case with High Sierra, apart from the eclipse folder, I deleted also:
在我使用 High Sierra 的情况下,除了 eclipse 文件夹之外,我还删除了:
- ~/.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/
- ~/.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/
回答by Evgenii
From terminal, find all eclipse directories with
sudo find / -iname "Eclipse"
Delete those directories with
rm
command.
从终端,找到所有 eclipse 目录
sudo find / -iname "Eclipse"
用
rm
命令删除这些目录。
回答by neesh
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.
删除eclipse文件夹就相当于卸载了。事实上,如果您不想篡改现有安装,您可以创建另一个 eclipse 实例并从新位置运行。
回答by Uri
Eclipse has no impact on Mac OS beyond it directory, so there is no problem uninstalling.
Eclipse除了它的目录对Mac OS没有影响,所以卸载没有问题。
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.
我认为您所面临的是Eclipse最近切换插件分发系统的结果。现在有两种冗余且不太兼容的插件安装方式。真是一团糟。您最好(如果可能)安装更新版本的 Eclipse(甚至可能是 3.5 里程碑),因为它们在这方面似乎更稳定。
回答by Fortyrunner
BTW. AppZapper is a great OSX tool for uninstalling apps and their preferences.
顺便提一句。AppZapper 是一款出色的 OSX 工具,用于卸载应用程序及其首选项。
It sometimes comes a part of MacHeist
它有时是 MacHeist 的一部分
回答by onCompletion
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
.
我知道这个线程太旧了,但最近我想知道如何删除正在运行的eclipse
应用程序。MacBook Pro
macOS High Sierra
Bellow are the steps which I followed to delete it from my system. Added screenshots for more clear understanding.
下面是我从系统中删除它所遵循的步骤。添加了屏幕截图,以便更清晰地理解。
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
.Now right click on that eclipse logo from dock and click
Show in Finder
underOptions
.
打开 eclipse 应用程序,它会在 Dock 中显示一个应用程序图标。如果它尚未出现在 Dock 中,请尝试
Spotlight Search
按?
+运行该应用程序space
。现在右击从码头月食的标志,然后单击
Show in Finder
下Options
。
- It will open the location of the
eclipse
app in an external finder window.
- 它将
eclipse
在外部查找器窗口中打开应用程序的位置。
- You can just delete the entire root directory (i.e. -
eclipse
) by pressing?
+delete
.
- 您可以
eclipse
通过按?
+删除整个根目录(即 - )delete
。
- Don't forget to delete the app from
Trash
as well if you are removing it from system completely.
Trash
如果您要从系统中完全删除该应用程序,请不要忘记从中删除该应用程序。
Thanks. Hope this helped.
谢谢。希望这有帮助。