Home >Java >javaTutorial >Steps to import external jar package in Eclipse
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!