Use eclipse to package and generate a. JAR File

Source: Internet
Author: User

To package a created Java project into a. jar file:

1. Select the project name, right-click and select Export

 

2. Select JAR File

3. Select the storage directory after the. jar file is generated.

4. Direct next

5. Select your main program. If you do not select the main program here, you must modify the configuration in manifest. MF after generating the. jar file and manually add the directory where the main program is located.

6. Click Finish. md5pro2. jar to generate it. Enter the md5pro2. Jar directory, provided that JDK has been installed and the Java-jar command is used.
Md5pro2. Jar

(My eclipse version is: Eclipse SDK version: 3.6.1 build ID: M20100909-0800)

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.