[java] How to uninstall Eclipse?

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.

This question is related to java eclipse uninstallation oomph eclipse-installer

The answer is

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.

Right click on eclipse icon and click on open file location then delete the eclipse folder from drive(Save backup of your eclipse workspace if you want). Also delete eclipse icon. Thats it..

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.

The steps are very simple and it'll take just few mins. 1.Go to your C drive and in that go to the 'USER' section. 2.Under 'USER' section go to your 'name(e.g-'user1') and then find ".eclipse" folder and delete that folder 3.Along with that folder also delete "eclipse" folder and you can find that you're work has been done completely.

Questions with java tag:

Under what circumstances can I call findViewById with an Options Menu / Action Bar item? How much should a function trust another function How to implement a simple scenario the OO way Two constructors How do I get some variable from another class in Java? this in equals method How to split a string in two and store it in a field How to do perspective fixing? String index out of range: 4 My eclipse won't open, i download the bundle pack it keeps saying error log getting " (1) no such column: _id10 " error Instantiating a generic type When to create variables (memory management) java doesn't run if structure inside of onclick listener String method cannot be found in a main class method Are all Spring Framework Java Configuration injection examples buggy? Calling another method java GUI I need to know how to get my program to output the word i typed in and also the new rearranged word using a 2D array Java and unlimited decimal places? Read input from a JOptionPane.showInputDialog box Cannot retrieve string(s) from preferences (settings) strange error in my Animation Drawable Two Page Login with Spring Security 3.2.x Hadoop MapReduce: Strange Result when Storing Previous Value in Memory in a Reduce Class (Java) Got a NumberFormatException while trying to parse a text file for objects Best way for storing Java application name and version properties Call japplet from jframe FragmentActivity to Fragment Comparing two joda DateTime instances Maven dependencies are failing with a 501 error IntelliJ: Error:java: error: release version 5 not supported Has been compiled by a more recent version of the Java Runtime (class file version 57.0) Why am I getting Unknown error in line 1 of pom.xml? Gradle: Could not determine java version from '11.0.2' Error: Java: invalid target release: 11 - IntelliJ IDEA Android Gradle 5.0 Update:Cause: org.jetbrains.plugins.gradle.tooling.util Why is 2 * (i * i) faster than 2 * i * i in Java? must declare a named package eclipse because this compilation unit is associated to the named module How do I install Java on Mac OSX allowing version switching? How to install JDK 11 under Ubuntu? Java 11 package javax.xml.bind does not exist IntelliJ can't recognize JavaFX 11 with OpenJDK 11 Difference between OpenJDK and Adoptium/AdoptOpenJDK OpenJDK8 for windows How to allow all Network connection types HTTP and HTTPS in Android (9) Pie? Find the smallest positive integer that does not occur in a given sequence Error: JavaFX runtime components are missing, and are required to run this application with JDK 11 How to uninstall Eclipse? Failed to resolve: com.google.firebase:firebase-core:16.0.1 How to resolve Unable to load authentication plugin 'caching_sha2_password' issue

Questions with eclipse tag:

How do I get the command-line for an Eclipse run configuration? My eclipse won't open, i download the bundle pack it keeps saying error log strange error in my Animation Drawable How to uninstall Eclipse? How to resolve Unable to load authentication plugin 'caching_sha2_password' issue Class has been compiled by a more recent version of the Java Environment Eclipse No tests found using JUnit 5 caused by NoClassDefFoundError for LauncherFactory How to downgrade Java from 9 to 8 on a MACOS. Eclipse is not running with Java 9 "The POM for ... is missing, no dependency information available" even though it exists in Maven Repository The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. on deploying to tomcat Spring Boot application in eclipse, the Tomcat connector configured to listen on port XXXX failed to start What does 'Unsupported major.minor version 52.0' mean, and how do I fix it? m2e error in MavenArchiver.getManifest() How to use Tomcat 8.5.x and TomEE 7.x with Eclipse? The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files Setting the correct PATH for Eclipse java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries. spark Eclipse on windows 7 Eclipse not recognizing JVM 1.8 Why is JavaFX is not included in OpenJDK 8 on Ubuntu Wily (15.10)? Can't import org.apache.http.HttpResponse in Android Studio web.xml is missing and <failOnMissingWebXml> is set to true Eclipse: How to install a plugin manually? How to solve maven 2.6 resource plugin dependency? Any way (or shortcut) to auto import the classes in IntelliJ IDEA like in Eclipse? Could not load the Tomcat server configuration "Multiple definition", "first defined here" errors Error loading the SDK when Eclipse starts org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]A child container failed during start Spring Boot Program cannot find main class Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved How do I add a resources folder to my Java project in Eclipse Android Studio shortcuts like Eclipse Where can I download Eclipse Android bundle? Eclipse: Java was started but returned error code=13 Eclipse - Installing a new JRE (Java SE 8 1.8.0) Maven:Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.7:resources Eclipse error "Could not find or load main class" Eclipse Java error: This selection cannot be launched and there are no recent launches Cannot create Maven Project in eclipse Maven error in eclipse (pom.xml) : Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4 This compilation unit is not on the build path of a Java project Access restriction: The type 'Application' is not API (restriction on required library rt.jar) How to configure Glassfish Server in Eclipse manually The Import android.support.v7 cannot be resolved Why won't eclipse switch the compiler to Java 8? Can't fix Unsupported major.minor version 52.0 even after fixing compatibility There are No resources that can be added or removed from the server Error launching Eclipse 4.4 "Version 1.6.0_65 of the JVM is not suitable for this product." Using android.support.v7.widget.CardView in my project (Eclipse) Update Eclipse with Android development tools v. 23

Questions with uninstallation tag:

How to uninstall Eclipse? How to remove docker completely from ubuntu 14.04 How to completely uninstall kubernetes How to uninstall Anaconda completely from macOS How to Completely Uninstall Xcode and Clear All Settings Remove composer How can I find the product GUID of an installed MSI setup? How to uninstall mini conda? python Force uninstall of Visual Studio How to remove a package from Laravel using composer? How to uninstall with msiexec using product id guid without .msi file present npm command to uninstall or prune unused packages in Node.js Apache Cordova - uninstall globally How do you uninstall all dependencies listed in package.json (NPM)? How do you uninstall the package manager "pip", if installed from source? How to uninstall Apache with command line How to completely uninstall Android Studio on Mac? How to remove a package in sublime text 2 How to Create a script via batch file that will uninstall a program if it was installed on windows 7 64-bit or 32-bit How to downgrade Xcode to previous version? adb shell command to make Android package uninstall dialog appear How to completely uninstall Visual Studio 2010? How to uninstall Jenkins? Removing all installed OpenCV libs Completely uninstall PostgreSQL 9.0.4 from Mac OSX Lion? install / uninstall APKs programmatically (PackageManager vs Intents) How to remove an app with active device admin enabled on Android? What is the best way to uninstall gems from a rails3 project? How can I uninstall Ruby on ubuntu? How to uninstall Python 2.7 on a Mac OS X 10.6.4? How to completely remove Python from a Windows machine? How to thoroughly purge and reinstall postgresql on ubuntu? How to uninstall Ruby from /usr/local? What's the opposite of 'make install', i.e. how do you uninstall a library in Linux? Uninstall Eclipse under OSX? How to uninstall a Windows Service when there is no executable for it left on the system? How can I uninstall an application using PowerShell?

Questions with oomph tag:

How to uninstall Eclipse?

Questions with eclipse-installer tag:

How to uninstall Eclipse?