Classpath variables can be used in a Java Build Path to avoid a reference to the local file system. Using a variable entry, the classpath only contains a variable and the build path can be shared in a team. The value of the variable has to be configured on this page.
Command |
Description |
---|---|
New... |
Adds a new variable entry. In the resulting dialog, specify a name and path for the new variable. You can click the File or Folder buttons to browse for a path. |
Edit... |
Allows you to edit the selected variable entry. In the resulting dialog, edit the name and/or path for the variable. You can click the File or Folder buttons to browse for a path. |
Remove |
Removes the selected variable entry. |
Certain class path variables are set internally and can not be changed in the Classpath variables preferences:
Working with JREs
Working with build paths
Adding a variable classpath entry
Attaching source to a classpath variable
Defining a classpath variable
Deleting a classpath variable