Uninstalling eclipse plugins from command line

Some time after installing new plugin to eclipse , the eclipse will crash and won't open. In such cases we need to install the latest installed plugins from the eclipse. 

But since we are not able to open the eclipse itself we won't be able to access the uninstall options from eclipse menu. So we have to uninstall the plugins from the command line. 

List the installed plugins

 To get list of plugins installed run the below command from the eclipse installed folder

eclipse -application org.eclipse.equinox.p2.director -listInstalledRoots

For windows os , use eclipsec executable

 This command provide you the list of plugin group name which are installed in the eclipse

Uninstall plugin

To uninstall specific feature you can run below command and provide the uninstall plugin group name as  argument for -uninstallIU 

Run below command from the eclipse installed folder 


eclipse -application org.eclipse.equinox.p2.director -uninstallIU org.scala.tools.eclipse.search.feature.feature.group 

Comments

Popular posts from this blog

MS office installation

connect to kerbros enable hive from Windows machine