~ubuntu-branches/ubuntu/trusty/netbeans/trusty

« back to all changes in this revision

Viewing changes to java/helpset/javahelp/org/netbeans/modules/java/helpset/docs/compile/comp_libraries.html

  • Committer: Bazaar Package Importer
  • Author(s): Marek Slama
  • Date: 2008-01-29 14:11:22 UTC
  • Revision ID: james.westby@ubuntu.com-20080129141122-fnzjbo11ntghxfu7
Tags: upstream-6.0.1
ImportĀ upstreamĀ versionĀ 6.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<!--       
 
3
*     Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
 
4
*     Use is subject to license terms.
 
5
-->
 
6
<html>
 
7
<head>
 
8
<title>About Java Class Libraries</title>
 
9
        <link rel="StyleSheet" href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css" type="text/css">
 
10
</head>
 
11
<body>
 
12
<h2>About Java Class Libraries</h2>
 
13
<p> <small><a href="#seealso">See Also</a>&nbsp; </small> 
 
14
<p>A Java class library is a group of resources needed by a project. Typically 
 
15
    they include one or more JAR files containing compiled classes, the source files 
 
16
    needed to debug the classes, and Javadoc documentation for the classes. In the 
 
17
    IDE, you create and edit libraries using the Library Manager. To open the Library 
 
18
Manager choose Tools &gt; Libraries.</p> 
 
19
<p>By creating Java class libraries within which to store the JAR files on your
 
20
project classpath, you can do the following:</p> 
 
21
<ul>
 
22
  <li>Group related JAR files that you use frequently.</li>
 
23
  <li>Add Javadoc documentation for your classes to a project. This enables you
 
24
        to automatically open the Javadoc page for any class in the library.</li>
 
25
  <li>Attach source code to your classes. This enables you to step through the source 
 
26
    code when debugging your program or use the Go To Source command to open the source file.</li>
 
27
</ul>
 
28
<ul class="note">
 
29
    <li> When you attach Javadoc documentation and source code to a JAR file in 
 
30
      the Library Manager, the IDE automatically registers the documentation and 
 
31
      source code in every project that has that JAR file on its classpath. You 
 
32
      do not have to remove the JAR file from the classpath and add it as a library.</li>
 
33
  </ul>
 
34
 
 
35
<dl>
 
36
    <dt><a name="seealso">See Also</a></dt>
 
37
    <dd><a href="comp_classpath.html">Managing the Classpath</a></dd>
 
38
    <dd><a href="../javadoc/javadoc_add.html">Adding Javadoc to a Project</a></dd>
 
39
    <dd><a href="../debug/debug_source.html">Attaching Source Code to a JAR File</a></dd>
 
40
    <dd><a href="../project/proj_jdk.html">Setting the Target JDK</a></dd>
 
41
</dl>
 
42
 
 
43
 
 
44
 
 
45
<hr>
 
46
<small><a href="../credits.html">Legal Notices</a></small> 
 
47
 
 
48
<table border="0" cellpadding="50">
 
49
<tr><td>&nbsp;</td></tr>
 
50
</table></body>
 
51
</html>