In the previous tutorial, a project dependency was established; that needs to change to a library file dependency.
- In the COBOL Explorer, right-click the Calc project, and select
Properties.
The
Properties for Calc dialog box is displayed.
- Click
Java Build Path.
- In the
Projects tab, select
CJVM, and then click
Remove.
The dependency link between the two projects is now broken.
- Select the
Libraries tab.
- The
COBOL JVM Runtime System library was added in the previous tutorial, but if it is not listed now, click
Add Library, select
COBOL JVM Runtime System,
Next, and then
Finish.
This adds the COBOL JVM Runtime System to the build path.
- Select
Classpath, and then click
Add JARs.
The
JAR Selection dialog box is displayed.
- Expand
.
- Select
CJVM.jar, and then click
OK.
- Click
Apply and Close.