How to create a new jar package library?

In order to facilitate everyone, you do n’t need to manually find the jar packages one by one, and build a class library of jar packages. Without further ado, just follow the graphic operation, it is also very simple

 

1. New jar library package

1. Go to Window-> Preferences, there is a search box in the upper left corner after entering, search for "user", as shown in the figure:

 

2. Enter the name of your jar package library and click OK

 

 

3. Select the jar package library you just created, click add external jars on the right, and then add all the jar packages you need.

4. After adding all of them, click Apply and Close

2. Import jar library package

1. Right click on your project, build path-> configure build path, and follow the picture:

 

2. Then select user library, click next, and then select the jar library you just created, finish-> OK

 3. Your jar library is imported

Guess you like

Origin www.cnblogs.com/ibcdwx/p/12685834.html