Eclipse plug-ins to install and use fat

Billion, Before You Begin

1, Fat Jar plug-Download: HTTPS: //sourceforge.net/projects/fjep/files/
2, before installation make sure Eclipse Version: Help -> About Eclipse

A, Eclipse 3.4 version before installing Fat Jar

1, the local plug-in installed
a, unzip the downloaded zip package, the inside of the jar package to extract the files in the Eclipse plugins folder installation path;
b, if the need to restart the Eclipse has started, you can not start directly open Eclipse. 2, line installation
a Enter Help -> ... the Install New Software.
B Work with the fill in the parameters "FAT - http://kurucz-grafika.de/fatjar."
C check the Jar Fat;. D
click Next. It can be.

Two, Eclipse 3.4 version after installation Fat Jar

1, the first version to resolve compatibility issues:
A to enter the Help -> the Install New Software ...;.
B Select The Eclipse Project Updates at Work with a list - http://download.eclipse.org/eclipse/updates/4.5;.
C in the pop-up mounting assembly may be selected: the Eclipse Tests, Examples, and Extras; D
open drop-down selection:. Eclipse 2.0 Style Plugin Support installation.
2. The steps after a restart Eclipse can be installed.

Third, the use Fat Jar package

Right project, select Build Fat Jar packaging; or the right project selection Export-> other-> Fat Jar Exporter packing; naming jar and select Main-class, check One-JAR, you can see the third-party lib to pack after the next, finish can be.

Fourth, Postscript

Local plug-in installed, restart Eclipse did not install successfully, the next delete Eclipse \ configuration \ org.eclipse.update \ platform.xml restart also invalid; online installation failed Tip: Failed to prepare partial IU: [R] net.sf.fjep.fatjar above 0.0.31 .; error are an incompatible version of lead.

Fifth, instructions for use

Step 1: Right-click the project selection Buile Fat Jar
Here Insert Picture Description
Step 2: Configure the jar file storage directory, file, etc. Main master, as shown below
Here Insert Picture Description
Step 3: Select the use to the third party jar package
Here Insert Picture Description
last Finish, which generated a jar file that we want very convenient.

Released eight original articles · won praise 0 · Views 44

Guess you like

Origin blog.csdn.net/weixin_44226956/article/details/105160813