Eclipse tutoria...login
Eclipse tutorial
author:php.cn  update time:2022-04-13 14:09:28

Eclipse Java build path



Set the Java build path

The Java build path is used to find dependent classes when compiling Java projects, including the following:

  • Source code package

  • Project-related jar packages and class files

  • Class libraries referenced by the project

We can view and modify the Java build path by using the Java Build Path (Java build path) option in the Java project properties dialog box.

The Java Project Properties dialog box can be invoked by right-clicking the specified Java project in the Package Explorer view and selecting the Properties menu item.

Then select Java Build Path in the left window.


java_build_path

#We can already reference the jar package in the Java build path window.

Referencing jar packages can be done in the Libraries tab. In the Libraries tab, we can click Add JARs to add jar packages that exist in the Eclipse workspace or Click External JARs to import jar packages from other files.

php.cn