Class path variables are stored global to the workbench; in other words, all projects in the workbench share the classpath variables.
To add or change a class path variable, follow these steps:
1. |
From the menu bar, select Window > Preferences > Java > Classpath Variables. |
2. |
This page allows you to add, edit, or remove class path variables. Note: The reserved class path variables, JRE_LIB, JRE_SRC, and JRE_SRCROOT cannot be edited in this page. To change them, change the default workbench JRE on the Installed JREs page (Window > Preferences > Java > Installed JREs). |
3. |
To add a new classpath variable, click the Add button. To edit an existing classpath variable, select the variable in the Defined Classpath Variables list and click the Edit button. |
4. |
In the Edit Variable Entry dialog, enter the following information:
|
5. |
Click OK when you are done. The new or modified variable appears in the classpath variables list on the preferences page. |