Packaging the JVM COBOL output

Within the JVM COBOL project (CJVM), create an output folder to store the JAR output. The JAR will be created by a build at a later point:

  1. In the COBOL Explorer, right-click the CJVM project, and then click Properties.

    The Properties for CJVM dialog box is displayed.

  2. Click Micro Focus > Build Configuration.

    The build configuration options for the project are displayed in the right-hand pane.

  3. In the JVM section, set Create packaging target to Yes.

    This creates a packaging target in the project's build file, and enables the other packaging options.

  4. Set Create JAR file after build to Yes.
  5. Set JAR output folder to dist.

    This creates a new folder, relative to the project folder, which you can see in COBOL Explorer after the project is next built. You can leave the JAR file name option at its default, CJVM.jar.

  6. Click Apply and Close.