Add User library using Eclipse

Source: Internet
Author: User

There are two common ways to add a referenced jar package in Eclipse, and one is to add the referenced Library, which is a simple way to->import out of the right-hand side of the selected item, and you can go directly to webroot->web-inf- >lib the jar file is copied, the disadvantage is that the next time you add the same jar package, you will find the jar package file, and then repeat the above work.

The second one is to add the user Library, as follows:

1. Select Project Right-click->build path->add Libraries ...

2. Select User Library->next

3. Click on the User Libraries button "top right Corner"

4. Click the New button

5. Type the name of the library name (for example, using the name Springjar)

6. Click Add External JARs

7. Locate the jar file you want to add

7. Click OK

8. Click Finish

9. Click OK

It's done.


Modify Jar

1. Select Project Right-click->build path->add Libraries ...

2. Select User Library->next

3. Click on the User Libraries button "top right Corner"

4. Select one, click Add or remove on the right

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.