Java Programming thought Note: (Ant Help) Eclipse Build/import third-party jar package

Source: Internet
Author: User
Tags java format

Recently read thinking in Java, encountered the third chapter using the official package written by Bruce Eckel, but from the official can only download to the. Java format source code.


A bit of a detour, a little bit, the author's code in Eclipse to create a new project to import in. Then use Eclipse->export to export to a jar package.


Then in the project where I need to use the API written by the author, right-->properties->java build path->library->add external jars-> Select the jar package you want to import on the project, Ok (OK), then import the appropriate class before the class that uses the API.


Code codes downloaded from MindView's official website and Mindview.jar packages packaged with eclipse



Http://pan.baidu.com/s/1pJ2qlrt


The easiest way to do this is to use the build.xml that comes with code, and modify it to package it as a jar, but because you're not familiar with Ant yet.


Do you have any trouble telling me or give me a link?

Java Programming thought Note: (Ant Help) Eclipse Build/import third-party jar package

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.