# Java ME Embedded Project Properties Dialog Box: Libraries

Use to configure the project's classpath and the way project dependencies are handled.

Element | Description
--- | ---
Libraries Folder | Sets a folder to hold shared libraries (or references to those libraries) making it easier to share libraries among different users and projects. You can create a new folder or specify an existing folder that already contains copies of the libraries on which your project depends.
Browse | Opens a file chooser in which you can select a libraries folder, if at least one library folder exists. You can also configure whether each library is referenced with a relative path or an absolute path. If no library folder exists, opens the New Libraries Folder wizard that you use to set a libraries folder and to specify how to reference each library. 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.
Compile and Processor tabs | Enables you to configure the classpath individually for compilation and runtime respectively. 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: Add Project Add Library Add JAR/Folder
Add Project | Adds the build output, source files, and Javadoc files of another IDE project.
Add Library | Adds a collection of binary files, source files, and Javadoc files.
Add JAR/Folder. | Adds a Java archive file somewhere on your system.
Build Projects on Classpath | When you use the Build command, builds all projects on which that project depends. You can temporarily clear this checkbox to make builds of the project faster.

Note:

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 (Tools > Libraries).

Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.