blob: 1ebe914fcf3f151a6ce6fb5deb2377e7940bbbbd [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta name="copyright" content=
"Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css" />
<title>
Classpath Variables
</title>
</head>
<body>
<h1>
Classpath Variables
</h1>
<p>
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.&nbsp;
</p>
<p>
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.
</p>
<h3 class="related">Related concepts</h3>
<a href="concept-java-builder.htm">Java builder</a><br />
<a href="concept-classpath-variables.htm">Classpath variable</a><br />
<a href="concept-inclusion-exclusion-patterns.htm">Inclusion and exclusion patterns</a><br />
<a href="concept-access-rules.htm">Access rules</a>
<h3 class="related">Related references</h3>
<a href="../reference/preferences/java/buildpath/ref-preferences-classpath-variables.htm">Classpath variables preferences</a><br />
<a href="../reference/ref-properties-build-path.htm">Java build path properties</a><br />
</body>
</html>