且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在eclipse(mars)上安装一个插件,现在eclipse不会启动。如何卸载插件?

更新时间:2023-09-26 17:45:28

好的,我设法通过导航到

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).