# New Libraries Wizard: Actions

Use to set a folder to hold your Java classpath libraries or to hold references to those libraries. Setting a libraries folder makes it easier to share libraries among different users and projects.

On the Actions page, you determine how each library is referenced. 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. For each library, the wizard tries to select the most suitable action.

Element | Description
--- | ---
Library JAR Files to New Libraries Folder | Places library JAR files in the selected libraries folder. Use this option if the library is not in the folder that you have selected and you want to have the library JAR files placed there.
Use Relative Path to Library JAR Files | Accesses a library that is not in the libraries folder using a relative path. Use this option if the library is not in the libraries folder and you need to access the library in its existing location using a relative path. An entry with a relative reference is added for the library in the libraries folder's `nblibraries.properties` file.
Use Absolute Path to Library JAR Files | Accesses a library that is not in the libraries folder using an absolute path. Use this option if the library is not in the libraries folder and you need to access the library in its existing location using an absolute path. An entry with an absolute reference is added for the library in the libraries folder's `nblibraries.properties` file.
Use Existing Library in Libraries Folder | Uses the copy of the library that already exists in the libraries folder.

Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

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