To add a variable entry to your build class path, follow these steps:
1. |
Select the project, and from its context menu, select Properties. |
2. |
In the Properties dialog, select the Java Build Path page. |
3. |
Click the Libraries tab. Note: The JRE_LIB variable entry is automatically included for each new project. This variable refers to the runtime JAR of the workbench's default JRE. |
4. |
Click Add Variable button for adding a variable that refers to a JAR file. |
5. |
The Classpath Variable Selection dialog appears. ![]() The dialog allows you to browse the existing variable definitions. See Defining a Class Path Variable |
6. |
The Variable Name field allows you to select a variable from the list of defined classpath variables to add to the class path of this project. |
7. |
The Path Extension field allows you to define the path relative to a variable. |
8. |
The Resolved Path field updates with the current value of the variable. Click OK when you are done. |