Nir
Nir

Reputation: 1724

Uninstall plugin of eclipse without open eclipse

I have installed a new plugin for eclipse and since then when i opened eclipse after a few seconds it's not responding. Is there a possible way to get rid of this plugin without open eclipse?

Thanks,

Upvotes: 0

Views: 2265

Answers (3)

Fred
Fred

Reputation: 1091

As described here, you could use Eclipse from the command line with the Eclipse Directory and -uninstallIU option.

For example,

eclipse -nosplash -application org.eclipse.equinox.p2.director -uninstallIU org.junit

Upvotes: 1

darijan
darijan

Reputation: 9775

Open Eclipse installation folder, find plugins folder, find the plugin and delete it manually. Then do the same in features folder.

Backup everything before, because you might delete something that belongs to Eclipse. This will sometimes require that you run eclipse -clean from your command line/terminal to truly get rid of the plugin.

Upvotes: 2

E-Riz
E-Riz

Reputation: 32895

The p2 Director application can do it, but it's not trivial. It's documented (somewhat) at http://help.eclipse.org/luna/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/p2_director.html

Another option is to try opening on a brand new workspace; sometimes it's the workspace that causes a problem, not a plug-in by itself.

Final option is to just delete your Eclipse installation (not your workspace), and re-extract a clean copy. Since Eclipse "installation" is just a zip/tar extraction, it's not hard to do. You would just need to re-install any third-party plugins that you already had and wanted to keep.

Upvotes: 2

Related Questions