1

I installed eclipse-java-neon-M3-linux-gtk-x86_64.tar.gz on ubuntu 15.10 by following steps given in response to How to install Eclipse? but now want to completely uninstall it, how to do that? Please help!

1 Answers1

0

If you followed the above link accurately, then to uninstall it, do the following:

Goto the installed folder:

cd /opt && ls | grep eclipse

It will output the name of a folder that says eclipse. Copy the name of that folder.

Now, type the following command to delete it:

sudo rm -rf PASTE THE NAME OF THE FOLDER HERE

sudo rm /usr/local/bin/eclipse44

sudo rm /usr/share/pixmaps/eclipse.xpm

sudo find / -type f -iname eclipse.desktop -delete

sudo rm -rf ~/.eclipse

If you do not need java anymore, then:

sudo apt-get remove --purge openjdk* 

Also, if you want to remove your saved projects, then, browse for the folder where you saved it, by default it's in ~/workspaces and type the following:

sudo rm -rf DRAG AND DROP THE FOLDER HERE

EDIT: As pointed by simran-kumari, the plugins still remain after the above process of purging eclipse. To remove the plugins, browse to /usr/lib/jvm/java-8-oracle/lib/missioncontrol/ and delete the relevant files/folders. The command for that is:

sudo find /usr/ -type d -iname '*eclipse*' -delete && sudo find /usr/ -type f -iname '*eclipse*' -delete
Raphael
  • 8,135