如何卸载Eclipse? [英] How to uninstall Eclipse?

查看:2220
本文介绍了如何卸载Eclipse?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想卸载Eclipse版本Mars 2,但是它没有出现在Windows控制面板的程序和功能区域中。安装程序已经安装了开始菜单快捷方式和其他工件,因此不仅仅是删除安装文件夹。

I want to uninstall Eclipse version Mars 2, but it doesn't appear in the "Programs and Features" area of the Windows Control Panel. The installer has installed start menu shortcuts and other artifacts, so it's not just a matter of deleting the installation folder.

推荐答案

没有自动卸载程序。

您必须手动删除Eclipse。至少Eclipse不在系统注册表中编写任何内容,因此删除一些目录和文件就足够了。

You have to remove Eclipse manually. At least Eclipse does not write anything in the system registry, so deleting some directories and files is enough.

注意:我在此答案中使用Unix样式路径,但在Windows或Unix系统上位置应该相同,因此甚至在Windows上也指向用户主目录。

Note: I use Unix style paths in this answer but the locations should be the same on Windows or Unix systems, so ~ refers to the user home directory even on Windows.

根据此关于卸载Eclipse的讨论,未提供卸载程序的原因是,Eclipse安装程序应该只是自动化了一些过去必须手动完成的任务(例如下载和提取Eclipse并添加快捷方式),因此也可以手动撤消它们。因为安装程序未在系统注册表中注册任何内容,所以程序和功能中没有任何条目。

According to this discussion about uninstalling Eclipse, the reasoning for not providing an uninstaller is that the Eclipse installer is supposed to just automate a few tasks that in the past had to be done manually (like downloading and extracting Eclipse and adding shortcuts), so they also can be undone manually. There is no entry in "Programs and Features" because the installer does not register anything in the system registry.

如果您不介意一些剩余文件,只需删除Eclipse目录和所有桌面以及开始菜单的快捷方式即可完成操作。

Just delete the Eclipse directory and any desktop and start menu shortcuts and be done with it, if you don't mind a few leftover files.

在我看来,这通常就足够了,我将在这里停止,因为多个Eclipse安装可以共享一些文件,并且您不希望删除这些共享文件。您还保留所有项目。

In my opinion this is generally enough and I would stop here, because multiple Eclipse installations can share some files and you don't accidentally want to delete those shared files. You also keep all your projects.

如果您真的想删除Eclipse而没有留下任何痕迹,您必须手动删除

If you really want to remove Eclipse without leaving any traces, you have to manually delete


  • 所有桌面和开始菜单快捷方式

  • 安装目录(例如〜/ eclipse / photon /

  • p2捆绑池(通常与其他Eclipse安装共享)

安装程序具有一个捆绑池菜单项,其中列出了所有捆绑池的位置。如果您的系统上还有其他Eclipse安装,则可以使用 Cleanup Agent来清理未使用的包。如果没有其他Eclipse安装,则可以删除整个捆绑池目录(默认为〜/ p2 / )。

The installer has a "Bundle Pools" menu entry which lists the locations of all bundle pools. If you have other Eclipse installations on your system you can use the "Cleanup Agent" to clean up unused bundles. If you don't have any other Eclipse installations you can delete the whole bundle pool directory instead (by default ~/p2/).

如果您也想完全删除 Eclipse安装程序,请删除安装程序的可执行文件和〜/ .eclipse / 目录。

If you want to completely remove the Eclipse installer too, delete the installer's executable and the ~/.eclipse/ directory.

根据您对Eclipse所做的工作,您可能希望删除更多目录。如果使用的是Maven,则〜/ .m2 / 包含Maven缓存和设置(与Maven CLI和其他IDE共享)。如果您开发Eclipse插件,那么Eclipse工作区旁边可能有来自测试运行的JUnit工作区。同样,Eclipse中使用的其他构建工具和开发环境也可以创建类似的目录。

Depending on what kind of work you did with Eclipse, there can be more directories that you may want to delete. If you used Maven, then ~/.m2/ contains the Maven cache and settings (shared with Maven CLI and other IDEs). If you develop Eclipse plugins, then there might be JUnit workspaces from test runs, next to you Eclipse workspace. Likewise other build tools and development environments used in Eclipse could have created similar directories.

如果要删除项目和工作空间元数据,则必须删除工作空间。默认的工作空间位置是〜/ workspace /。您还可以搜索 .metadata 目录以获取计算机上的所有Eclipse工作区。

If you want to delete your projects and workspace metadata, you have to delete your workspace(s). The default workspace location is ´~/workspace/´. You can also search for the .metadata directory to get all Eclipse workspaces on your machine.

如果您正在使用Git项目,这些项目通常不保存在工作区中,而是保存在〜/ git / 目录。

If you are working with Git projects, these are generally not saved in the workspace but in the ~/git/ directory.

这篇关于如何卸载Eclipse?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆