在eclipse(mars)上安装一个插件,现在eclipse不会启动。如何卸载插件? [英] Installed a plugin on eclipse (mars), now eclipse won't start. How can I uninstall the plugin?

查看:203
本文介绍了在eclipse(mars)上安装一个插件,现在eclipse不会启动。如何卸载插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了一个用于查看json文件的插件,它的json工具由sweetlemonade。

I installed a plugin for viewing json files, its the "json tool" by sweetlemonade.

无论如何,安装之后,我尝试查看一个json文件大文件),我认为插件可能能够处理。嗯,当我这样做的时候,日食崩溃了。现在我不能再次启动eclipse了。当它到达加载org.sweetlemonade.eclipse.json时,它失败

Anyway, after installing it I tried to view a json file (very large file) which I thought the plugin might be able to handle. Well, eclipse crashed when I did this. Now I can't get eclipse to start again. It fails when it gets to "loading org.sweetlemonade.eclipse.json"

我在这里搜索了其他答案,但接受的答案包括使用p2 director通过命令行卸载插件。唯一的问题是答案是旧版eclipse。我正在使用eclipse的火星,无法在任何地方找到p2导演的安装。

I've searched for other answers on here but the accepted answers include using "p2 director" to uninstall the plugin via command line. The only problem is the answer is for an old version of eclipse. I'm using eclipse mars and can't find an install for "p2 director" anywhere.

如何手动卸载这个插件并让eclipse重新运行?我想解决这个问题,而无需重新安装并丢失我的项目设置。

How can I uninstall this plugin manually and get eclipse to run again? I want to solve this without having to reinstall and lose my project setups.

推荐答案

好的,我设法通过导航到

Okay so I managed to solve this by navigating to

configuration/org.eclipse.equinox.simpleconfigurator/bundles.info

并删除负责插件的行:

org.sweetlemonade.eclipse.json,1.1.0,../../../.p2/pool/plugins/org.sweetlemonade.eclipse.json_1.1.0.jar,4,false

然后我再次运行eclipse,它打开了很好。我看到eclipse以前尝试打开大型JSON文件的选项卡仍然是打开的,除了现在它有一个x,带有无法找到json工具插件的消息。因为这个问题可能是因为eclipse在每次打开它时都试图恢复该选项卡,所以我关闭了选项卡,然后关闭了eclipse,并将我删除的行重新添加到了bundles.info文件中。最后,我重新打开eclipse并卸载插件的方式(因为插件对我来说不会有任何用处)。

Then I ran eclipse again and it opened just fine. I saw the tab where eclipse previously tried to open the large JSON file was still open except now it has an "x" with the message that the json tool plugin couldn't be found. Since the issue was probably occurring because eclipse kept trying to restore that tab every time I opened it, I closed the tab then closed eclipse and re-added the line I deleted to the bundles.info file. Lastly, I reopened eclipse and uninstalled the plugin the proper way (since the plugin wouldn't be of any use to me).

这篇关于在eclipse(mars)上安装一个插件,现在eclipse不会启动。如何卸载插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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