Home  >  Article  >  Java  >  Steps to import external jar package in Eclipse

Steps to import external jar package in Eclipse

巴扎黑
巴扎黑Original
2017-06-26 11:39:182477browse

Yesterday, I learned the packaging process of Jar packages, and now I plan to record how to import external Jar packages in Eclipse.

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

Step 2: Name the Folder name 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 >>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.

The above is the detailed content of Steps to import external 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