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.
There is no automated uninstaller.
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.
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.
Why is there no uninstaller?
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.
How to quickly uninstall 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.
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.
How to completely uninstall Eclipse
If you really want to remove Eclipse without leaving any traces, you have to manually delete
- all desktop and start menu shortcuts
- the installation directory (e.g.
~/eclipse/photon/
) - the p2 bundle pool (which is often shared with other eclipse installations)
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/
).
If you want to completely remove the Eclipse installer too, delete the installer's executable and the ~/.eclipse/
directory.
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.
How to delete all projects
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.
If you are working with Git projects, these are generally not saved in the workspace but in the ~/git/
directory.
Look for an installation subdirectory, likely named eclipse. Under that subdirectory, if you see files like eclipse.ini, icon.xpm and subdirectories like plugins and dropins, remove the subdirectory parent (the one named eclipse).
That will remove your installation except for anything you've set up yourself (like workspaces, projects, etc.).
Hope this helps.
Usually, In general, Eclipse doesn't have a traditional install or uninstall process. It's just a folder of the application and then a workspace that you would have selected/created when you first run it.
If you used the Eclipse Installer, you may also have a bundle pool folder named .p2 under your user home directory. There can also be .eclipse in your user home. Other than that, there shouldn't be anything Eclipse-related. Uninstallation is just removing those folders
Other than that, you can use below guideline to uninstall the eclipse.
How to Uninstall Eclipse
If you are using the Windows 10 or other Windows Operating Systems and want to uninstall Eclipse windows version, then check the methods below.
Like we seen methods to uninstall Eclipse on Mac OS, we can also follow different ways to uninstall Eclipse on Windows systems.
Method-1: Use application uninstaller
You can use the uninstaller application that sometimes downloaded and installed on your Windows PC along with the software.
Go to the parent folder where Eclipse is stored. Look for the application file named as ‘Uninstaller.’ When you find it, double click on it and follow the instructions to remove Eclipse from Windows system.
Method-2: Using Add or Remove Programs
You know that any application or software you install on your system is listed under the programs section. You can take help of this inbuilt app to remove Eclipse from Windows.
- Press Windows + S key and type ‘Programs.’
- When you see an icon of ‘Add or Remove Programs’, click on it.
- Now, from the list of applications, look for ‘Eclipse.’
- When you locate the app, click on it and select ‘Uninstall.’
- Click yes/uninstall when prompted.
Resource: How-do-I-completely-remove-uninstall-Eclipse-from-my-computer
来源:https://stackoverflow.com/questions/50854359/how-to-uninstall-eclipse