Filesystems Tab in the Explorer

See Also

The Filesystems tab provides a tree view of  that you have  in the IDE.

You can add a directory or an archive file to the Filesystems tab by choosing File and choosing Mount Filesystem.

You can view the file hierarchy of the mounted filesystem by expanding the filesystem's node and its subnodes. You can right-click a node to access commands for that node. You can view and change properties for the selected node in the property sheet, which appears below the Explorer by default.

When you compile and run Java applications in the IDE, the IDE builds the class path from mounted directories and mounted JAR files. As a result, you need to mount every library that your application needs. Even if you have the CLASSPATH environment variable set on your system, it is not referenced by the IDE. Since the mounted filesystems correspond to the class path, any directories must be mounted at the package root to ensure that the sources are compilable and otherwise usable in the IDE.

By default, a sample directory is mounted and displayed in the Explorer. Some JAR files are also mounted but hidden from display. You can view all hidden and unhidden mounted filesystems by right-clicking the root Filesystems node node and choosing Customize.

In the Customizer dialog box, you can configure each mounted filesystem separately. You can determine:

You can also configure whether a filesystem's files can be compiled, run, debugged, or used as Javadoc documentation in the IDE. For example, it might be useful to disable compilation for a library that your application depends on. The library might not need to be recompiled every time you compile your application.

You can also change the order of filesystems in the Filesystems tabbed pane. Mount order is particularly significant if you have classes with identical, fully qualified names in different filesystems. When you select one of these identical classes to run or debug, the IDE runs the version of that class that appears highest in the Filesystems tab.

See Also
Mounting a Filesystem
Changing the Mount Order of Filesystems
Opening a File Not in a Mounted Filesystem
Disabling Compilation for a Filesystem
Unmounting a Filesystem
Configuring a Mounted Filesystem
The Explorer
Using Version Control in the IDE

Legal Notices