Eclipse:删除无法加载的插件 [英] Eclipse: remove plugins that fail to load

查看:101
本文介绍了Eclipse:删除无法加载的插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我启动Eclipse副本时,都会收到以下错误消息:





我对那些插件不感兴趣(无论如何我都不会使用Java 8,因为我不会厌烦您的原因),所以没有必要安装它们。



我去了Help-> Installation Details菜单(如SO上的各种帖子所建议),但是似乎没有选择卸载插件的选项,您只能看到插件列表并查看其签名/版权信息,如您所见:





唯一具有卸载菜单选项的选项卡是第一个(已安装的软件),但是它仅包含蚀食和我安装的其他两个插件与我要删除的插件无关。



那么,我在这里错过了什么?

解决方案

以下是在Eclipse Neon上对我有用的方法:



第1步:卸载... p>

卸载后,一些东西仍被注册并列在安装详细信息下的插件中。在该视图中没有选项可以卸载或删除插件。



以下步骤在eclipse之外



步骤2:从 .p2 / pool / 目录中删除插件文件(插件和功能)



结果:插件不再被注册或列在插件列表中。启动显示关于找不到图标的烦人错误。



步骤3:使用 -clearPersistedState 选项启动eclipse



消失的图标错误消失了,但是无法再次安装该插件:Eclipse已经以某种方式注册了该插件已经下载,并抱怨文件丢失了。



第4步:从 .p2 / pool / artifacts.xml <清除对插件的引用/ p>

并没有真正的帮助,仍然无法安装插件。不确定此步骤是否有用。



步骤5:从 .eclipse 目录清除缓存,主要是从 .eclipse / org.eclipse.oomph.p2 / cache



清除<$ c $中的许多目录后c> .eclipse ,主要是缓存,我能够再次安装该插件。



也许第4步或第5步可以替换为 可用软件站点首选项视图中的重新加载?


Whenever I start my copy of Eclipse, I get the following error message:

I'm not interested in those plugins (I can't use Java 8 anyway, for reasons I won't bore you with) so there's no point in having them installed.

I went to the Help --> Installation Details menu (as suggested in various posts here on SO), but there seems to be no option to uninstall a plugin, you can only see the list of plugins and view their signature / copyright info, as you can see:

The only tab that has a "uninstall" menu option is the first one ("Installed software") but it only contains eclipse stuff and a couple of other addons I installed that have nothing to do with the ones I want to remove.

So, what am I missing here?

解决方案

Here's what worked for me on eclipse Neon:

Step 1: Uninstall...

After "Uninstall", the some stuff is still registered and listed in "Plug-ins" under Installation Details. There is no option to uninstall or delete plug-ins in that view.

The following steps are outside eclipse

Step 2: Delete plug-in files from .p2/pool/ directory (plugins and features)

Result: The plugins were no longer registered or listed in "Plug-ins" list. Start-up showed annoying errors about icons that are not found.

Step 3: start eclipse with -clearPersistedState option

The missing icons error disappeared, but it was not possible to install the plugin again: Eclipse had registered somehow that the plugin was already downloaded and complained that the files were missing instead of downloading them again.

Step 4: Clean references to plugin from .p2/pool/artifacts.xml

Didn't really help, plugin could still no be installed. Not sure if this step is any good.

Step 5: Clean cache from .eclipse directory, primarily from .eclipse/org.eclipse.oomph.p2/cache

After clearing a number of directories in .eclipse, primarily caches, I was able to install the plugin again.

Maybe step 4 or 5 could be replaced by hitting "Reload" in the "Available Software Sites" preferences view?

这篇关于Eclipse:删除无法加载的插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆