Classpath Variables

The build path for a Java project can include source code files, other Java projects, folders containing class files and JAR files. JAR files can be specified using file system paths, or by using variables that refer to locations on the network. 

Classpath variables allow you to avoid references to the location of a JAR file or folders on your local file system. By using a classpath variable, you can specify a JAR file or folder using only a variable name, such as JRE_LIB, rather than specifying the location on your workstation. In this way, you can share build paths across teams and define the variables to refer to the correct location for your particular computer.

Related concepts

Java builder
Classpath variable
Inclusion and exclusion patterns
Access rules

Related reference

Classpath variables preferences
Java build path properties