天天看點

Eclipse4.7無法線上安裝Fat Jar插件的問題

Eclipse4.7線上安裝Fat Jar插件報錯,在網上找到相關文章,說是很多朋友把Eclipse更新到最新版本後無法使用Fat Jar,解決辦法是安裝Eclipse2.0版本的插件支援。步驟如下:

1、安裝Eclipse2.0版本的插件支援:

打開Eclipse,選擇菜單“Help -> Install New Software... -> Work with”,

再選擇“The Eclipse Project Updates - http://download.eclipse.org/eclipse/updates/4.7”,

勾選“Eclipse Tests, Examples, and Extras”下的 “Eclipse 2.0 Style Plugin Support”進行安裝。

2.、線上安裝Fat Jar:

選擇Eclipse菜單“Help -> Install New Software... -> Work with”,

點選Add添加:

Name:Fat Jar

Location:http://kurucz-grafika.de/fatjar,

然後一直 Next,安裝完成後重新開機Eclipse,在要打包的項目上右鍵選擇“Export”,彈出界面最下方就會出現“Other->Fat Jar Exporter”。

完畢。