Home  >  Article  >  Java  >  How to import jar package in eclipse

How to import jar package in eclipse

little bottle
little bottleOriginal
2019-05-27 16:46:4923542browse

eclipse is an integrated development platform based on Java. It is an open source, extensible development platform. Next I want to talk about how to import external jar packages into eclipse. Interested friends can learn about it.

How to import jar package in eclipse

Specific steps:

Step one: Right-click on the project>>New>>click Folder.

Step 2: Name the Folder as lib in the pop-up window and click OK.

Step 3: Drag or copy the Jar package into lib.

Step 4: The File Operation dialog box pops up and click OK.

Step 5: "Unzip" the imported file, right-click the mouse>>Build Path>>Add to Build Path

Finally, the jar package can be applied. You can see that it is automatically displayed hierarchically, exactly the same as when it was created. This is the benefit of the Jar package - professional and flexible.

Right-click New>>Folder in the project. Name the Folder name lib in the pop-up window. Copy the Jar package to lib. The File Operation dialog box pops up and click OK. Unzip the imported file and right-click Build Path>>Add to Build Path

The above is the detailed content of How to import jar package in eclipse. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn