Skip to content

Install Open COBOL ESQL 4J v1.0.3

yutaro-sakamoto edited this page Aug 29, 2023 · 2 revisions

Requirements

  • Open-source database. OCESQL 4J currently supports PostgreSQL database only.

  • opensource COBOL 4j v1.0.14 or later.

  • sbt.

Installation

Install opensource COBOL 4J

See Installation guides of opensource COBOL 4J.

Install required JAR files:

PostgreSQL JDBC driver

Download the PostgreSQL JDBC driver and add the path to $CLASSPATH. Copy the PostgreSQL JDBC jar file to dblib/lib/postgresql.jar

libcobj.jar

Copy libcobj.jar, which is the runtime library of opensource COBOL 4J, to dblibj/lib/libcobj.jar. After you complete the installation procedure described in Installation guides of opensource COBOL 4J, you can find libcobj.jar in /usr/lib/opensourcecobol4j/.

sbt

See the official Installation guide.

Install Open COBOL ESQL 4J

Run the following commands.

./configure --prefix=/usr/
make
make install

Then, add /usr/lib/Open-COBOL-ESQL-4J/ocesql4j.jar to $CLASSPATH.

Clone this wiki locally