Eclipse4.X版本安装fatjar插件(luna mars 版本均可用)

来源:互联网 发布:非法集资判定知不知情 编辑:程序博客网 时间:2024/05/17 07:59

首先声明,eclipse luna 和mars 楼主亲测可用。

1.安装Eclipse2.0版本的插件支持

方法如下:

Help -> Install New Software... -> Work with

-> 选择“The Eclipse Project Updates - http://download.eclipse.org/eclipse/updates/4.4”

-> 勾选"Eclipse Tests, Examples, and Extras" 下的 "Eclipse 2.0 Style Plugin Support"


如果不进行这一步直接安装fatjar会报错,错误内容如下:

  1. An error occurred while installing the items  
  2. session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]net.sf.fjep.fatjar 0.0.31, action=).  
  3. Failed to prepare partial IU: [R]net.sf.fjep.fatjar 0.0.31.  

2. 安装fatjar

推荐在线安装方式,另外还有一种安装方式是将fatjar插件下载到本地,然后放入eclipse的文件夹中,该方法可用性有待检验。

在线安装方式如上述方式相同:

在线安装步骤:

eclipse菜单栏 Help -> Install New Software... -> Work with

输入:fatjat - http://kurucz-grafika.de/fatjar

然后一直 next,重启之后就可以了!


如果重启之后,仍没有看到你期待的fatjar图标,不要急,新建一个工程,鼠标右键改工程,应该就有了!

Good Luck!

0 0
原创粉丝点击