-
Notifications
You must be signed in to change notification settings - Fork 38
Install opensource COBOL 4j v1.0.4
yutaro-sakamoto edited this page Jul 20, 2022
·
5 revisions
We have confirmed that opensource COBOL 4j v1.0.4 works on Ubuntu.
Run the following command.
sudo apt-get update
sudo apt-get install default-jdk
sudo apt-get install -y build-essential bison flex gettext texinfo libgmp-dev autoconf
Run the following command.
mkdir ~/.java_lib
curl -L -o ~/.java_lib/sqlite.jar https://github.com/xerial/sqlite-jdbc/releases/download/3.36.0.3/sqlite-jdbc-3.36.0.3.jar
export CLASSPATH=":$HOME/.java_lib/sqlite.jar"
curl -L -o opensourcecobol4j-v1.0.4.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.4.tar.gz
tar zxvf opensourcecobol4j-v1.0.4.tar.gz
cd opensourcecobol4j-v1.0.4
./configure --prefix=/usr/
make
sudo make isntall
cp libcobj/build/libcobj.jar ~/.java_lib
Add ~/.java_lib/libcobj.jar and ~/.java_lib/sqlite.jar to the environment variable $CLASSPATH.
We will publish the docker container of opensource COBOL 4j v1.0.4 soon.