blob: c24ecb8d43b80f39bed9131f410afe7eb4b77592 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta name="GENERATOR" content="Mozilla/4.75 [en] (Windows NT 5.0; U) [Netscape]">
<title>
Adding a library folder to the build path
</title>
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
</head>
<body>
<h1>
Adding a library folder to the build path
</h1>
<p>
A library folder is an ordinary folder containing a collection of class files inside the workbench. Use this format for a library when a library is not packaged as a JAR
file.
</p>
To add a library folder to the project's build class path, follow these steps:
<ol>
<li>
Select the project, and from its context menu, select <strong>Properties</strong>.
</li>
<li>
In the Properties dialog, select the <strong>Java Build Path</strong> page.
</li>
<li>
Click the <strong>Libraries</strong> tab.
</li>
<li>
Click the <strong>Add Class Folder</strong> button.
</li>
<li>
In the dialog that appears, select a folder to add press the <strong>OK</strong> button.
If you want to add a not yet existing folder use first <strong>Create
New Folder.</strong> After the folder is created select the new folder and press the <strong>OK</strong> button</li>
</ol>
<p>
<img src="../images/ngrelc.gif" alt="Related concepts" border="0" height="27" width="159"><a href="../concepts/concepts-4.htm"></a>
</p>
<p>
<a href="../concepts/concepts-4.htm">Java builder</a><br>
<a href="../concepts/cbuildcp.htm">Build classpath</a>
</p>
<p>
<img src="../images/ngrelt.gif" alt="Related tasks" border="0" height="27" width="159">
</p>
<p>
<a href="tasks-113.htm">Adding a JAR file to the build path</a><br>
<a href="tasks-106.htm">Building a Java program</a><br>
<a href="tasks-108.htm">Building automatically</a><br>
<a href="tasks-109.htm">Building manually</a><br>
<a href="tasks-111.htm">Viewing and editing a project's build path</a><br>
<a href="tasks-110.htm">Working with build paths</a>
</p>
<p>
<img src="../images/ngrelr.gif" alt="Related reference" border="0" height="27" width="159"><a href="../reference/ref-123.htm"></a>
</p>
<p>
<a href="../reference/ref-123.htm">Java Build Path</a>
</p>
<p>
<a href="../hglegal2003.htm"><img src="../images/ngibmcpy2003.gif" alt="Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved." border="0" height="14" width="324"></a>
</p>
</body>
</html>