Eclipse Java Build Path Set the Java build path
The Java build path is used to find dependent classes when compiling a Java project, including the following:
- SOURCE Package
- Project-related jar packages and class files
- The class library referenced by the project
We can view and modify the Java build path by using the Java Build path option in the Java Project Properties dialog box.
The Java Project Properties dialog box can be called by right-clicking the specified Java project in the package Explorer view and selecting the Properties menu item.
Then select the Java build path (the Java building paths) in the left window.
In the Java Build path window we can already refer to the jar package.
The reference jar package can be done in the Libraries tab, and in the Libraries tab we can add the jar packages that exist in the Eclipse workspace by clicking Add JARs or clicking External JARs to bring in other files.
Eclipse Java Build Path