Eclipse Export executable jar file

Source: Internet
Author: User

1. Select the project to go around the jar file, right click "Export";

2.next

In the drop-down list under Launch configuration, select the main class to run when the program starts ( that is, the class with the main method in the project, project portal )

In the "Export destination" under the "Browse" button to select the storage path of the jar, and enter the jar file name;

If the program relies on other packages, select "Package required libraries into generated JAR" or "Copy required libraries into a sub-fol" at "Library handling" Der next to the generated JAR ", if you choose the latter, when you export, you will copy the required package to a directory, and then refer to the jar package, you have to be copied to the directory where the Jar is located

Very simple, but long time no action will forget, or make a mark for the next operation.

Eclipse Export executable jar file

Related Article

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.