Tutorial: Packaging JVM COBOL

This tutorial walks you through the steps required to compile and package JVM COBOL so that it can be used as a library in another project.

This tutorial assumes that you have COBOL JVM projects that you want to expose to a Java project in the form of a jar dependency.

Note: All projects discussed in this tutorial are available in the samples folder %PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples.

Prerequisites

You must install the following:

  • Enterprise Developer for Eclipse.
  • Java JDK 1.8.0, the JDK is used by the specified version of Ant.
  • Apache Ant 1.10.2, Apache Ant is used to build Java applications.

Apache Ant

To download Apache Ant 1.10.2:

  1. Click here, in the left pane click Binary Distributions.
  2. Click apache-ant-1.10.2-bin.zip to download.
  3. Extract the content of the zip file to a new folder.