在Eclipse启动时禁用插件 [英] Disable plugins on Eclipse startup

查看:258
本文介绍了在Eclipse启动时禁用插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚安装了一个Eclipse插件,结果Eclipse将不再启动。它说有一个错误或一些这样的不知情的消息。

I just installed a plugin for Eclipse, but as a result Eclipse will no longer start. It says "There was an error" or some such uninformative message.

如果没有加载插件,我可以启动Eclipse,以便我可以卸载违规软件? p>

How can I start Eclipse without it loading plugins so that I can actually uninstall the offending software?

推荐答案

正如另一个人所说,你可以尝试-clean选项。但是,如果仍然无法加载,并且需要还原安装,则应该删除磁盘上的插件。如果Eclipse认为一个插件是在那里,突然它被删除,你将会遇到各种各样的问题在将来。

As another person mentioned, you can try the -clean option. However, if it still fails to load and you need to revert your install, you should NOT simply delete a plugin on disk. If Eclipse thinks a plugin is there, and suddenly it's removed, you will run into all sorts of problems in the future.

最好的方法是使用Eclipse Director(一个管理应用程序)来还原你的安装(这是随Eclipse一起安装的)。您将需要知道您要恢复的以前的修订版本。您可以在/p2/org.eclipse.p2.engine/profileRegistry/中查看Eclipse安装的所有先前版本,其中配置文件名称可能类似于SDKProfile。在这里你会看到一些配置文件。每个代表Eclipse安装的先前状态。找到您要恢复的修订版本(它们都应该有一个时间戳),并从Eclipse的根执行以下命令:

The best approach is to use the Eclipse director (a managing application) to revert your install (this comes installed with Eclipse). You will need to know what previous revision you would like to revert to. You can see all the previous revisions of your Eclipse install in /p2/org.eclipse.p2.engine/profileRegistry/ where profile name is likely something like SDKProfile. In here you will see a number of profiles. Each one represents a previous state of your Eclipse install. Find the revision you would like to revert to (they should all have a timestamp on them) and from the root of Eclipse execute the following command:

./ eclipse -application org.eclipse.equinox.p2.director -revert 1348266115829 -repository http://download.eclipse.org/releases / juno

./eclipse -application org.eclipse.equinox.p2.director -revert 1348266115829 -repository http://download.eclipse.org/releases/juno

显然将修订与您要还原的版本替换。这说,请将我的Eclipse安装恢复到1348266115829,如果需要任何依赖项,请查看 http://下载.eclipse.org /发行/ JUNO 。如果您为Indigo(Eclipse 3.7)进行此操作,请将URL更改为 http://download.eclipse。 org / releases / indigo

Obviously replace the revision with the one you want to revert too. This says, please revert my Eclipse install to 1348266115829, and if you need any dependencies, look in http://download.eclipse.org/releases/juno. If you're doing this for Indigo (Eclipse 3.7) then change the URL to http://download.eclipse.org/releases/indigo

这篇关于在Eclipse启动时禁用插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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