| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html> |
| <head> |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. 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=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 class folder to the build path |
| </title> |
| <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> |
| </head> |
| <body> |
| <h1> |
| Adding a class folder to the build path |
| </h1> |
| <p> |
| A class 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. A |
| the class folder is the root of the package folders so that all class files are by placed according to their package declaration. |
| </p> |
| To add a class 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.png" alt="Related concepts" border="0" ><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.png" alt="Related tasks" border="0" > |
| </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.png" alt="Related reference" border="0" ><a href="../reference/ref-123.htm"></a> |
| </p> |
| <p> |
| <a href="../reference/ref-123.htm">Java Build Path</a> |
| </p> |
| |
| </body> |
| </html> |
| |