English 中文(简体)
Eclipse - Java Build Path
  • 时间:2024-12-22

Ecppse - Java Build Path


Previous Page Next Page  

Setting the Java Build Path

The Java build path is used while compipng a Java project to discover dependent classes . It is made up of the following items −

    Code in the source folders.

    Jars and classes folder associated with the project.

    Classes and pbraries exported by projects referenced by this project.

The java build path can be seen and modified by using the Java Build Path page of the Java Project properties dialog.

To bring up the Java Project properties dialog box, right cpck on a Java Project in the Package Explorer view and select the Properties menu item. On the left hand side tree select Java Build Path.

Java Build Path

A common requirement seen while developing java apppcations is to add existing jars to the java build path. This can be accomppshed using the Libraries tab. In the Libraries tab, just cpck on Add JARs if the jar is already in the Ecppse workspace or cpck on Add External JARs if the jar is elsewhere in the file system.

Advertisements