New Library wizard

The New Library wizard allows you to create new libraries which you can then add to a project. JBuilder uses libraries to find everything it needs to run a project as well as for browsing through source, viewing JavaDoc, using the visual designer, applying CodeInsight, and compiling code. Libraries are collections of paths that include classes, source files, and documentation files. Individual library paths are often contained in JAR or ZIP files but can also be contained in directories.

When libraries are added to JBuilder, they are added to the class path so JBuilder can find them. Libraries are searched in the order listed. The order of libraries can be changed in the Configure Libraries dialog box (Tools|Configure Libraries).

See also

To open the New Library wizard, choose Tools|Configure Libraries and press the New button in the bottom left of the dialog box.

You can also access the wizard from the Paths page of the Project Properties dialog box (Project|Project Properties). Select the Required Libraries tab and select Add. Then press the New button in the bottom left of the dialog box to open the New Library wizard.

The New Library wizard contains the following fields:

Name

Name the library you are creating.

Location

Stores the library specification in a .library file in the selected library folder. Available folders vary by JBuilder edition. Options may include User Home, JBuilder, Project, or user-defined folders.

User Home

Saves the .library file to the .jbuilder directory in the user's home directory.

JBuilder

Saves the .library file to the jbuilder/lib directory. Multiple users who are using JBuilder on a network or sharing JBuilder on a single machine have access to the libraries in this folder.

Project

This is a feature of JBuilder Professional and Enterprise

Saves the .library file in the current project's directory. When using the version control feature in Enterprise, the .library file is checked in with the other project files.

User-Defined Folder

This is a feature of JBuilder Enterprise

Saves the .library file to a user-defined folder or shared directory. You must add the new folder using the Add Folder button in the Configure Libraries dialog box before it can appear in the drop-down list.

Add

Add one or more libraries containing classes, source, or documentation. JBuilder automatically places the added libraries on the correct paths.

Remove

Removes the selected libraries. Select the libraries you want to remove and press Remove. This feature supports multiple selection.