Install and use the FatJar plug-in Eclipse, eclipsefatjar

Source: Internet
Author: User

Install and use the FatJar plug-in Eclipse, eclipsefatjar

The jar package generated in Eclipse is divided into many situations. The simplest case is that a third-party jar package is not used, so you can generate a jar package directly using Export. However, if a third-party jar package is used, it is complicated and inconvenient. FatJar can solve this problem. If FatJar contains many third-party jar packages, it is easy to generate jar packages.

There are two methods to install FatJar. You can download files, copy them to the plug-in folder of Eclipse, or install FatJar online. The following describes the steps for online installation.

(1) In Eclipse, click Help-> Install New Software. In the pop-up Install interface, click Add, enter the name Fat Jar, and the address http://kurucz-grafika.de/fatjar. then, you can automatically Install it;

(2) After the installation is successful, click Windows> Preferences. If the pop-up window contains Fat Jar Preferences, the installation is successful;

After installing Fat Jar, you can easily generate jar packages for projects that contain third-party Jar packages.

(1) Right-click the project to be packaged and click Export. In the displayed dialog box, select Other-> Fat Jar Exporter;

(2) Click Next and select the project to be packaged;

(3) Click Next and enter the Jar Name. If you want to generate a Jar package at any location, select use extern Jar-Name and select Main-Class and Class-Path, select One-JAR;

(4) Click Next to check all third-party Jar packages used in the project;

(5) Click Finish to complete packaging;

(6) run the Jar package in the Dos window.


Why can't I install the fatjar plug-in eclipse ??

The tutorial image I used myself is no longer on this computer, and I don't know if it can help me. 2. Use the eclipse plug-in fat-jar to decompress the compressed package, overwrite Eclipse plugins, and restart

How to download the jar package for the fat plug-in eclipse is also available

Fat has never been used. I usually use eclipse to directly package jar files.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.