Java-eclipse Importing Jar Packages
Method One: Basic step Style
Right-click Project Properties, select Property, select Java Build Path in the list on the left of the popup dialog box, as shown in: Select Add External JARs, import the jar package
Method Two: User jar package Type
Right-click the project properties, select the property, select Build Path from the list on the left of the popup dialog box, select "Add Library", Pop up the dialog box as shown, select "User Library" and select->next
You can select a user-defined library that has already been created, or you can select "New" in the Libraries dialog box to create a new user-defined library.
Select Library Add jars to import the jar packages you need
Method Three: Folder import type
In the project, create a new folder, as shown in this example, create the Structs_jar folder and copy the third-party jar package to the folder
Select the jar package you want to add, then right-select "Build Pathàadd to build Path" and the jar package will be imported successfully
The third approach is simpler and more reusable, and when different, a direct copy of the jar is possible between machine projects
Original address: http://www.cnblogs.com/ruiati/p/3591203.html
Java-eclipse Importing Jar Packages