blob: 4f7b48f1e7ba76396f1609f73b5914469881e89c [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>Standard Java SE Project Properties Dialog Box: Libraries</title>
<link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/>
</head>
<body>
<p><a id="org.netbeans.modules.java.j2seproject.ui.customizer.CustomizerLibraries" name="org.netbeans.modules.java.j2seproject.ui.customizer.CustomizerLibraries"></a></p>
<div id="NBCSH2113"><!-- infolevel="all" infotype="General" --><a id="sthref288" name="sthref288"></a>
<h1>Standard Java SE Project Properties Dialog Box: Libraries</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>Use to configure the project's classpath and the way project dependencies are handled.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG373">
<param name="text" value="<html><u>How?</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<table summary="Descriptions of library configurations for a standard project." dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="39%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t17">Element</th>
<th align="left" valign="bottom" id="r1c2-t17">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t17" headers="r1c1-t17">
<p>Java Platform</p>
</td>
<td align="left" headers="r2c1-t17 r1c2-t17">Specifies the target Java platform against which all source files are compiled and run. By default, the Java platform on which the IDE is running is listed.
<p>Click <b>Manage Platforms</b> to add a plaftorm.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t17" headers="r1c1-t17">
<p>Libraries Folder</p>
</td>
<td align="left" headers="r3c1-t17 r1c2-t17">Sets a folder to hold shared libraries (or references to those libraries) making it easier to share libraries among different users and projects.
<p>You can create a new folder or specify an existing folder that already contains copies of the libraries on which your project depends.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t17" headers="r1c1-t17">
<p>Browse</p>
</td>
<td align="left" headers="r4c1-t17 r1c2-t17">Opens a file chooser in which you can select a libraries folder, if at least one library folder exists.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG389">
<param name="text" value="<html><u>More</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
<p>You can also configure whether each library is referenced with a relative path or an absolute path.</p>
<p>If no library folder exists, opens the New Library wizard that you use to set a libraries folder and to specify how to reference each library.</p>
<p>The simplest case is to have the libraries copied to that folder. You can also refer to the libraries in their existing location (with a relative path or an absolute path). If you have specified an existing folder, you also have the option of using copies of libraries that are already in that folder instead of the copies that are contained in the IDE's Ant Library Manager.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t17" headers="r1c1-t17">
<p>Compile, Processor, Run, Compile Tests, and Run Test tabs</p>
</td>
<td align="left" headers="r5c1-t17 r1c2-t17">Enables you to configure the classpath individually for compilation, runtime, compile-time testing and runtime testing, respectively.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG384">
<param name="text" value="<html><u>More</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
<p>Use the buttons on the right side of the panel to add, remove, and change the order of classpath elements. You can perform any of the following:</p>
<ul>
<li><b>Add Project</b></li>
<li><b>Add Library</b></li>
<li><b>Add JAR/Folder</b></li>
</ul>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r6c1-t17" headers="r1c1-t17">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Add Project</p>
</td>
<td align="left" headers="r6c1-t17 r1c2-t17">Adds the build output, source files, and Javadoc files of another IDE project.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r7c1-t17" headers="r1c1-t17">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Add Library</p>
</td>
<td align="left" headers="r7c1-t17 r1c2-t17">Adds a collection of binary files, source files, and Javadoc files.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r8c1-t17" headers="r1c1-t17">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Add JAR/Folder.</p>
</td>
<td align="left" headers="r8c1-t17 r1c2-t17">Adds a Java archive file somewhere on your system.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r9c1-t17" headers="r1c1-t17">
<p>Build Projects on Classpath</p>
</td>
<td align="left" headers="r9c1-t17 r1c2-t17">When you use the <b>Build</b> command, builds all projects on which that project depends.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG512">
<param name="text" value="<html><u>More</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
<p>You can temporarily clear this checkbox to make builds of the project faster.</p>
</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<p><b>Note:</b></p>
<p>You can select an item in the list and use the Edit button to associate sources and Javadoc documentation with an item for that project. However, if you plan to use the classpath element in many projects, it is better to create a library for that classpath element in the Ant Library Manager (<b>Tools</b> &gt; <b>Ant</b> <b>Libraries</b>).
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG2129">
<param name="text" value="<html><u>More</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<a id="NBCSH2122" name="NBCSH2122"></a>
<hr><p><b>Related Topics</b></p>
<p>Developing Applications with NetBeans IDE,
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG370">
<param name="text" value="<html><u>&quot;Using Java Project Templates&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<p>Developing Applications with NetBeans IDE,
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG455">
<param name="text" value="<html><u>&quot;Sharing Libraries a Library with Other Users&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<!-- -->
<!-- Start Footer -->
<table summary="" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" width="86%"><a href="legal_notice.htm">
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.</a>
</td>
</tr>
</table>
<!-- -->
</body>
</html>