How do I completely uninstall Eclipse so I can sort out my Subclipse trouble?

Smipims picture Smipims · Nov 20, 2011 · Viewed 64.7k times · Source

I am having trouble finalising the installation of Subclipse into my Eclipse installation.

First some background: I installed Eclipse in 64-bit Ubuntu (in a VM). I tried to install Subclipse but on the final screen, the button to finish was greyed out (apparently this is a known unresolved issue). I cancelled the installation.

The problem is that when I tried to add the plug-in again, it says that it's a duplicate location (http://subclipse.tigris.org/update_1.8.x). So I tried to search for the plug-in in the installed list (help -> about eclipse platform -> installation details), but I can't find Subclipse anywhere.


I have tried uninstalling Eclipse completely. Didn't solve the problem. I'd like to not have to completely reinstall Ubuntu in this VM. Is there any way I can completely clear any and all configurations so I can start from square one?

Answer

Wang Ruiqi picture Wang Ruiqi · Nov 20, 2011

The following solution assumes you installed with the installer (as opposed to your package manager). There is a hidden file in your home user directory (the path is /home/user). You can use the shortcut Ctrl+H to discover it. And then you would find a folder named .eclipse, just remove this folder, as it includes all the setting you have set before.

Alternatively, you can open a terminal, and use the following command:

rm -r ~/.eclipse

Ubuntu, and all Unix systems are similar. They are all Inheritance systems, which will keep the user's setting in home.