Configuring the default java file path in general settings

## Configuring the default java file path in general settings |

On this tab you can edit the default class path and source path for all sessions. With the two radio buttons on the top you choose whether to set the

- Default class path
  The default class path is be added to the launch command of every local or applet session. The additional class path which is entered in the application settings dialog is prepended to the default class path and can be used to override it. The default class path is also used by the bytecode viewer to find class files for display.
- Default source path
  The default source path is is used by the source code viewer to display Java sources. The additional source path which is entered in the application settings dialog is prepended to the default source path and can be used to override it. You do not need to add a source path for JDK sources, as the sources of the selected JDK contained in `src.jar` or `src.zip` will be automatically appended if they are installed. You can also enter jar or zip files with a source prefix, i.e. when the source root is not the root of the zip file but a contained directory. In that case, please add an exclamation mark ("!") followed be the source prefix and make sure not to select the archive in the file chooser but to type the entire name yourself.
- Default native library path
  The default native library path is used for all local sessions. You only need the native library path for loading native libraries with calls to `java.lang-System.load()`. The additional native library path which is entered in the application settings dialog is prepended to the default native library path and can be used to override it.

To edit the path you can

| add a new entry by clicking on the right side of the tab. In the following file chooser select a directory (or a jar file for the class path) to add to the path.

| copy a path from the system clipboard by clicking on the right side of the tab. The path must consist of a single path entry multiple path entries separated by the standard path separator (";" on Windows, ":" on UNIX) or by line breaks. Each path entry can be absolute The path entry is added as it is. relative On the first occurrence of a relative path, JProfiler brings up a directory chooser and asks for the root directory against which relative paths should be interpreted. All subsequent relative paths will be interpreted against this root directory. JProfiler will only add unique path entries into the list. If no new path entry could be found, a corresponding error message is displayed.

| remove an existing entry by clicking on the right side of the tab or choosing Remove from the context menu. You will not be prompted for confirmation.

| change the position of an existing entry by clicking for moving it upward or for moving it downward. The context menu entries Move up and Move down are equivalent to the image buttons.