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 in the
Classpath group and click
Remove, and then click
Apply.
The dependency link between the two projects is now broken.
- Select the
Libraries tab and configure the library file dependency:
- In the
Classpath group, 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 the
Classpath group again, and then click
Add JARs.
The
JAR Selection dialog box is displayed.
- Expand
.
- Select
CJVM.jar, and then click
OK.
- Click
Apply and Close.