diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 00d6c72b..ac133fc6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,13 @@ jobs: image: ${{ inputs.os }} steps: - uses: actions/setup-java@v3 - if: inputs.os != 'amazonlinux:2023' + if: inputs.os == 'ubuntu:22.04' + with: + distribution: 'temurin' + java-version: '21' + + - uses: actions/setup-java@v3 + if: inputs.os == 'almalinux:9' with: distribution: 'temurin' java-version: '11' @@ -35,12 +41,7 @@ jobs: if: inputs.os == 'amazonlinux:2023' run: | dnf -y update - dnf install -y gcc make bison flex automake autoconf diffutils gettext tar gzip - - - name: Install Java - if: inputs.os == 'amazonlinux:2023' - run: | - dnf install -y java-11-amazon-corretto-devel + dnf install -y java-21-amazon-corretto-devel gcc make bison flex automake autoconf diffutils gettext tar gzip - name: Checkout opensource COBOL 4J uses: actions/checkout@v3 diff --git a/CHANGELOG.md b/CHANGELOG.md index 0288b814..9890caed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). -## [Unreleased] +## [1.0.18] - 2023-12-26 ### Added * Support Amazon Linux 2023 (#282) * Implement runtime numeric checkings (#253) @@ -12,7 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). * Implement KEY IS option of SORT statements (#259) * Add documents that describes installations and requirements (#256) * Implement the environemt variable COB_NIBBLE_C_UNSIGNED (#258) -* Add intrinsic functions +* Add built-in subroutines * `C$CALLEDBY` (#262) * `C$LIST-DIRECTORY` (#264) * Implement `NUMBER-OF-PARAMETERS` (#270) @@ -23,7 +23,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). * Fix error handlings of 0 divisions (#273) * Fix an error of comparing large numbers (#275) * Fix checkings for subscripts (#277) -* Fix FUNCTION VARIANCE and a test case of FUNCTION SQRT (#280) +* Fix FUNCTION VARIANCE (#280) ### Optimized * Optimize the file reading process (#257) diff --git a/ChangeLog b/ChangeLog index 1ebcce6a..dc6ff0a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2023-12-26 OSS Consortium + + * opensource COBOL 4J v1.0.18 released. + 2023-11-28 OSS Consortium * opensource COBOL 4J v1.0.17 released. diff --git a/NEWS b/NEWS index c987bf24..ccd42133 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,32 @@ NEWS - user visible changes -*- outline -*- ----------------------------------------------------------------------- +* opensource COBOL 4J 1.0.18 + +** New Features + (1) Support Amazon Linux 2023 + (2) Implement runtime numeric checkings + (3) Implement sorting a table based on ebcdic + (4) Implement KEY IS option of SORT statements + (5) Add documents that describes installations and requirements + (6) Implement the environemt variable COB_NIBBLE_C_UNSIGNED + (7) Add built-in subroutines + (a) `C$CALLEDBY` + (b) `C$LIST-DIRECTORY` + (8) Implement `NUMBER-OF-PARAMETERS` +** Bug fixes + (1) Fix the message of COB_VERBOSE file sort + (2) Fix the process that checks MOVE statements + (3) Fix `INSPECT` statement + (4) Fix error handlings of 0 divisions + (5) Fix an error of comparing large numbers + (6) Fix checkings for subscripts + (7) Fix FUNCTION VARIANCE +** Miscellaneous + (1) Optimize the file reading process + +----------------------------------------------------------------------- + * opensource COBOL 4J 1.0.17 ** New Features @@ -26,7 +52,7 @@ NEWS - user visible changes -*- outline -*- (e) STORED-CHAR-LENGTH (f) TRIM -** Bug fixes Fixed +** Bug fixes (1) Fix `DECIMAL POINT IS COMMA` in `SPECIAL NAMES` clause. ----------------------------------------------------------------------- diff --git a/README.md b/README.md index b4ea39d9..5f3db564 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,9 @@ Other software and libraries are distributed under the GNU GENERAL PUBLIC LICENS opensource COBOL 4J is tested with the following platforms and dependencies -* Ubuntu 22.04 and AlmaLinux 9 -* OpenJDK 11 +* Ubuntu 22.04 and OpenJDK 21 +* AlmaLinux 9 and OpenJDK 11 +* Amazon Linux 2023 and OpenJDK 21 In order to check requirements of older versions, see [doc/requirements-all.md](./doc/requirements-all.md). @@ -27,16 +28,34 @@ see [doc/requirements-all.md](./doc/requirements-all.md). ### Install dependencies +Run the following commands. + +#### Ubuntu 22.04 + ``` sudo apt-get update sudo apt-get install -y default-jdk build-essential bison flex gettext texinfo libgmp-dev autoconf ``` +#### AlmaLinux 9 + +``` +dnf -y update +dnf install -y java-11-openjdk-devel gcc make bison flex automake autoconf diffutils gettext +``` + +#### Amazon Linux 2023 + +``` +dnf -y update +dnf install -y java-21-amazon-corretto-devel gcc make bison flex automake autoconf diffutils gettext tar gzip +``` + ### Install opensource COBOL 4J ``` -curl -L -o opensourcecobol4j-v1.0.17.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.17.tar.gz -tar zxvf opensourcecobol4j-v1.0.17.tar.gz -cd opensourcecobol4j-1.0.17 +curl -L -o opensourcecobol4j-v1.0.18.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.18.tar.gz +tar zxvf opensourcecobol4j-v1.0.18.tar.gz +cd opensourcecobol4j-1.0.18 ./configure --prefix=/usr/ make sudo make install @@ -53,7 +72,7 @@ In order to check installations of older versions, The docker container for opensource COBOL 4J is available. ```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.17 +docker pull opensourcecobol/opensourcecobol4j:1.0.18 ``` Execute the following commands in order to run the "Hello World" COBOL program. @@ -134,7 +153,7 @@ rw 4 0 4 0 0 0 0 0 0 REPORT total 21 0 21 0 0 0 0 0 0 ``` -# Contributing +## Contributing Guidelines for contributing to opensource COBOL 4J can be found in [CONTRIBUTING.md](./CONTRIBUTING.md). Contributors are listed in https://github.com/opensourcecobol/opensourcecobol4j/graphs/contributors diff --git a/README_JP.md b/README_JP.md index 22943774..f3c027b5 100644 --- a/README_JP.md +++ b/README_JP.md @@ -14,52 +14,69 @@ opensource COBOL 4JはCOBOLからCに変換するCOBOLコンパイラ["opensourc opensource COBOL 4J は下記の環境でテストされています. -* Ubuntu 22.04 および AlmaLinux 9 -* OpenJDK 11 +* Ubuntu 22.04 と OpenJDK 21 +* AlmaLinux 9 と OpenJDK 11 +* Amazon Linux 2023 と OpenJDK 21 古いバージョンの動作環境については、[doc/requirements-all.md](./doc/requirements-all.md)をご覧ください. ## インストール -opensource COBOL 4J v1.0.17はUbuntuとAlmaLinuxで動作を確認しています. +opensource COBOL 4J v1.0.18はUbuntuとAlmaLinuxで動作を確認しています. -# 手動インストール +## 手動インストール -## 依存ライブラリのインストール +### 依存ライブラリのインストール -下記のコマンドを実行する +下記のコマンドを実行する. + +#### Ubuntu 22.04 ``` sudo apt-get update sudo apt-get install -y default-jdk build-essential bison flex gettext texinfo libgmp-dev autoconf ``` -## opensource COBOL 4Jのインストール +#### AlmaLinux 9 + +``` +dnf -y update +dnf install -y java-11-openjdk-devel gcc make bison flex automake autoconf diffutils gettext +``` + +#### Amazon Linux 2023 + +``` +dnf -y update +dnf install -y java-21-amazon-corretto-devel gcc make bison flex automake autoconf diffutils gettext tar gzip +``` + +### opensource COBOL 4Jのインストール 下記のコマンドを実行する ``` -curl -L -o opensourcecobol4j-v1.0.17.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.17.tar.gz -tar zxvf opensourcecobol4j-v1.0.17.tar.gz -cd opensourcecobol4j-1.0.17 +curl -L -o opensourcecobol4j-v1.0.18.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.18.tar.gz +tar zxvf opensourcecobol4j-v1.0.18.tar.gz +cd opensourcecobol4j-1.0.18 ./configure --prefix=/usr/ make sudo make install ``` -## $CLASSPATHの設定 +### $CLASSPATHの設定 /usr/lib/opensourcecobol4j/libcobj.jar を 環境変数$CLASSPATH に追加する. 古いバージョンのインストール方法は、[doc/installation_jp](./doc/installation_jp)をご覧ください. -# Dockerによるインストール +## Dockerによるインストール -opensource COBOL 4J v1.0.17をインストールしたDockerイメージを利用できます. +opensource COBOL 4J v1.0.18をインストールしたDockerイメージを利用できます. ```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.17 +docker pull opensourcecobol/opensourcecobol4j:1.0.18 ``` コンテナ内で下記のコマンドを実行すると、Hello Worldプログラムをコンパイル&実行できる。 @@ -103,9 +120,9 @@ java [PROGRAM-ID] * SORT文 * 組み込み関数 (ACOS, LENGTH, MAX, ...) -# テストのステータス +## テストのステータス -## NIST COBOL85 test suite +### NIST COBOL85 test suite opensource COBOL 4Jは[NIST COBOL85 test suite](https://www.itl.nist.gov/div897/ctg/cobol_fo rm.htm)によりテストされています。 @@ -143,7 +160,7 @@ rw 4 0 4 0 0 0 0 0 0 REPORT total 21 0 21 0 0 0 0 0 0 ``` -# コントリビューㇳ +## コントリビューㇳ コントリビュータの一覧は https://github.com/opensourcecobol/opensourcecobol4j/graphs/contributors に掲載されています。 コントリビュータ向けのガイドラインは[CONTRIBUTING_JP.md](./CONTRIBUTING_JP.md)を参照してください。 diff --git a/configure b/configure index c901c406..e0672baa 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for opensource COBOL 4J 1.0.17. +# Generated by GNU Autoconf 2.71 for opensource COBOL 4J 1.0.18. # # Report bugs to . # @@ -620,9 +620,9 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='opensource COBOL 4J' -PACKAGE_TARNAME='opensource-cobol-4j-1.0.17' -PACKAGE_VERSION='1.0.17' -PACKAGE_STRING='opensource COBOL 4J 1.0.17' +PACKAGE_TARNAME='opensource-cobol-4j-1.0.18' +PACKAGE_VERSION='1.0.18' +PACKAGE_STRING='opensource COBOL 4J 1.0.18' PACKAGE_BUGREPORT='ws-opensource-cobol-contact@osscons.jp' PACKAGE_URL='' @@ -1414,7 +1414,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures opensource COBOL 4J 1.0.17 to adapt to many kinds of systems. +\`configure' configures opensource COBOL 4J 1.0.18 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1464,7 +1464,7 @@ Fine tuning of the installation directories: --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root - [DATAROOTDIR/doc/opensource-cobol-4j-1.0.17] + [DATAROOTDIR/doc/opensource-cobol-4j-1.0.18] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] @@ -1486,7 +1486,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of opensource COBOL 4J 1.0.17:";; + short | recursive ) echo "Configuration of opensource COBOL 4J 1.0.18:";; esac cat <<\_ACEOF @@ -1617,7 +1617,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -opensource COBOL 4J configure 1.0.17 +opensource COBOL 4J configure 1.0.18 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -2105,7 +2105,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by opensource COBOL 4J $as_me 1.0.17, which was +It was created by opensource COBOL 4J $as_me 1.0.18, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -3403,8 +3403,8 @@ fi # Define the identity of the package. - PACKAGE='opensource-cobol-4j-1.0.17' - VERSION='1.0.17' + PACKAGE='opensource-cobol-4j-1.0.18' + VERSION='1.0.18' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -25367,7 +25367,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by opensource COBOL 4J $as_me 1.0.17, which was +This file was extended by opensource COBOL 4J $as_me 1.0.18, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -25435,7 +25435,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -opensource COBOL 4J config.status 1.0.17 +opensource COBOL 4J config.status 1.0.18 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index ac319d5b..4499fa86 100644 --- a/configure.ac +++ b/configure.ac @@ -19,7 +19,7 @@ AC_PREREQ(2.59) -AC_INIT([opensource COBOL 4J],[1.0.17],[ws-opensource-cobol-contact@osscons.jp],[opensource-cobol-4j-1.0.17]) +AC_INIT([opensource COBOL 4J],[1.0.18],[ws-opensource-cobol-contact@osscons.jp],[opensource-cobol-4j-1.0.18]) AC_CONFIG_SRCDIR([libcobj.h]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_TESTDIR([tests]) diff --git a/doc/installation/1.0.10.md b/doc/installation/1.0.10.md deleted file mode 100644 index 6b27349f..00000000 --- a/doc/installation/1.0.10.md +++ /dev/null @@ -1,60 +0,0 @@ -We have confirmed that opensource COBOL 4J v1.0.10 works on Ubuntu and AlmaLinux. - -# Manual install - -## Install dependencies - -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 -``` - -## Install SQLite JDBC Driver - -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" -``` - -## Install opensource COBOL 4J - -``` -curl -L -o opensourcecobol4j-v1.0.10.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.10.tar.gz -tar zxvf opensourcecobol4j-v1.0.10.tar.gz -cd opensourcecobol4j-1.0.10 -./configure --prefix=/usr/ -make -sudo make install -``` - -## Set $CLASSPATH - -Add /usr/lib/opensourcecobol4j/libcobj.jar and ~/.java_lib/sqlite.jar to the environment variable $CLASSPATH. - -# Install with Docker - - -The docker container for opensource COBOL 4J is available. - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.10 -``` - -Execute the following commands in order to run the "Hello World" COBOL program. - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation/1.0.11.md b/doc/installation/1.0.11.md deleted file mode 100644 index 66d00c32..00000000 --- a/doc/installation/1.0.11.md +++ /dev/null @@ -1,60 +0,0 @@ -We have confirmed that opensource COBOL 4J v1.0.11 works on Ubuntu and AlmaLinux. - -# Manual install - -## Install dependencies - -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 -``` - -## Install SQLite JDBC Driver - -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" -``` - -## Install opensource COBOL 4J - -``` -curl -L -o opensourcecobol4j-v1.0.11.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.11.tar.gz -tar zxvf opensourcecobol4j-v1.0.11.tar.gz -cd opensourcecobol4j-1.0.11 -./configure --prefix=/usr/ -make -sudo make install -``` - -## Set $CLASSPATH - -Add /usr/lib/opensourcecobol4j/libcobj.jar and ~/.java_lib/sqlite.jar to the environment variable $CLASSPATH. - -# Install with Docker - - -The docker container for opensource COBOL 4J is available. - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.11 -``` - -Execute the following commands in order to run the "Hello World" COBOL program. - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation/1.0.12.md b/doc/installation/1.0.12.md deleted file mode 100644 index 606b6c4a..00000000 --- a/doc/installation/1.0.12.md +++ /dev/null @@ -1,59 +0,0 @@ -We have confirmed that opensource COBOL 4J v1.0.12 works on Ubuntu and AlmaLinux. - -# Manual install - -## Install dependencies - -Run the following command. - -``` -sudo apt-get update -sudo apt-get install -y default-jdk build-essential bison flex gettext texinfo libgmp-dev autoconf -``` - -## Install SQLite JDBC Driver - -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" -``` - -## Install opensource COBOL 4J - -``` -curl -L -o opensourcecobol4j-v1.0.12.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.12.tar.gz -tar zxvf opensourcecobol4j-v1.0.12.tar.gz -cd opensourcecobol4j-1.0.12 -./configure --prefix=/usr/ -make -sudo make install -``` - -## Set $CLASSPATH - -Add /usr/lib/opensourcecobol4j/libcobj.jar and ~/.java_lib/sqlite.jar to the environment variable $CLASSPATH. - -# Install with Docker - - -The docker container for opensource COBOL 4J is available. - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.12 -``` - -Execute the following commands in order to run the "Hello World" COBOL program. - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation/1.0.13.md b/doc/installation/1.0.13.md deleted file mode 100644 index f1ca1b2a..00000000 --- a/doc/installation/1.0.13.md +++ /dev/null @@ -1,59 +0,0 @@ -We have confirmed that opensource COBOL 4J v1.0.13 works on Ubuntu and AlmaLinux. - -# Manual install - -## Install dependencies - -Run the following command. - -``` -sudo apt-get update -sudo apt-get install -y default-jdk build-essential bison flex gettext texinfo libgmp-dev autoconf -``` - -## Install SQLite JDBC Driver - -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" -``` - -## Install opensource COBOL 4J - -``` -curl -L -o opensourcecobol4j-v1.0.13.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.13.tar.gz -tar zxvf opensourcecobol4j-v1.0.13.tar.gz -cd opensourcecobol4j-1.0.13 -./configure --prefix=/usr/ -make -sudo make install -``` - -## Set $CLASSPATH - -Add /usr/lib/opensourcecobol4j/libcobj.jar and ~/.java_lib/sqlite.jar to the environment variable $CLASSPATH. - -# Install with Docker - - -The docker container for opensource COBOL 4J is available. - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.13 -``` - -Execute the following commands in order to run the "Hello World" COBOL program. - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation/1.0.14.md b/doc/installation/1.0.14.md deleted file mode 100644 index 8ce041bc..00000000 --- a/doc/installation/1.0.14.md +++ /dev/null @@ -1,51 +0,0 @@ -We have confirmed that opensource COBOL 4J v1.0.14 works on Ubuntu and AlmaLinux. - -# Manual install - -## Install dependencies - -Run the following command. - -``` -sudo apt-get update -sudo apt-get install -y default-jdk build-essential bison flex gettext texinfo libgmp-dev autoconf -``` - -## Install opensource COBOL 4J - -``` -curl -L -o opensourcecobol4j-v1.0.14.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.14.tar.gz -tar zxvf opensourcecobol4j-v1.0.14.tar.gz -cd opensourcecobol4j-1.0.14 -curl -L -o libcobj/sqlite-jdbc/sqlite.jar https://github.com/xerial/sqlite-jdbc/releases/download/3.36.0.3/sqlite-jdbc-3.36.0.3.jar -./configure --prefix=/usr/ -make -sudo make install -``` - -## Set $CLASSPATH - -Add `/usr/lib/opensourcecobol4j/libcobj.jar` and `/usr/lib/opensourcecobol4j/sqlite.jar` to the environment variable $CLASSPATH. - -# Install with Docker - - -The docker container for opensource COBOL 4J is available. - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.14 -``` - -Execute the following commands in order to run the "Hello World" COBOL program. - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation/1.0.15.md b/doc/installation/1.0.15.md deleted file mode 100644 index 172cf6e4..00000000 --- a/doc/installation/1.0.15.md +++ /dev/null @@ -1,51 +0,0 @@ -We have confirmed that opensource COBOL 4J v1.0.15 works on Ubuntu and AlmaLinux. - -# Manual install - -## Install dependencies - -Run the following command. - -``` -sudo apt-get update -sudo apt-get install -y default-jdk build-essential bison flex gettext texinfo libgmp-dev autoconf -``` - -## Install opensource COBOL 4J - -``` -curl -L -o opensourcecobol4j-v1.0.15.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.15.tar.gz -tar zxvf opensourcecobol4j-v1.0.15.tar.gz -cd opensourcecobol4j-1.0.15 -curl -L -o libcobj/sqlite-jdbc/sqlite.jar https://github.com/xerial/sqlite-jdbc/releases/download/3.36.0.3/sqlite-jdbc-3.36.0.3.jar -./configure --prefix=/usr/ -make -sudo make install -``` - -## Set $CLASSPATH - -Add `/usr/lib/opensourcecobol4j/libcobj.jar` and `/usr/lib/opensourcecobol4j/sqlite.jar` to the environment variable $CLASSPATH. - -# Install with Docker - - -The docker container for opensource COBOL 4J is available. - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.15 -``` - -Execute the following commands in order to run the "Hello World" COBOL program. - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation/1.0.16.md b/doc/installation/1.0.16.md deleted file mode 100644 index a1f5ba8f..00000000 --- a/doc/installation/1.0.16.md +++ /dev/null @@ -1,50 +0,0 @@ -We have confirmed that opensource COBOL 4J v1.0.16 works on Ubuntu and AlmaLinux. - -# Manual install - -## Install dependencies - -Run the following command. - -``` -sudo apt-get update -sudo apt-get install -y default-jdk build-essential bison flex gettext texinfo libgmp-dev autoconf -``` - -## Install opensource COBOL 4J - -``` -curl -L -o opensourcecobol4j-v1.0.16.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.16.tar.gz -tar zxvf opensourcecobol4j-v1.0.16.tar.gz -cd opensourcecobol4j-1.0.16 -./configure --prefix=/usr/ -make -sudo make install -``` - -## Set $CLASSPATH - -Add `/usr/lib/opensourcecobol4j/libcobj.jar` to the environment variable $CLASSPATH. - -# Install with Docker - - -The docker container for opensource COBOL 4J will is available. - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.16 -``` - -Execute the following commands in order to run the "Hello World" COBOL program. - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation/1.0.17.md b/doc/installation/1.0.17.md deleted file mode 100644 index 68e91fe5..00000000 --- a/doc/installation/1.0.17.md +++ /dev/null @@ -1,49 +0,0 @@ -We have confirmed that opensource COBOL 4J v1.0.17 works on Ubuntu and AlmaLinux. - -# Manual install - -## Install dependencies - -Run the following command. - -``` -sudo apt-get update -sudo apt-get install -y default-jdk build-essential bison flex gettext texinfo libgmp-dev autoconf -``` - -## Install opensource COBOL 4J - -``` -curl -L -o opensourcecobol4j-v1.0.17.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.17.tar.gz -tar zxvf opensourcecobol4j-v1.0.17.tar.gz -cd opensourcecobol4j-1.0.17 -./configure --prefix=/usr/ -make -sudo make install -``` - -## Set $CLASSPATH - -Add `/usr/lib/opensourcecobol4j/libcobj.jar` to the environment variable $CLASSPATH. - -# Install with Docker - -The docker container for opensource COBOL 4J is available. - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.17 -``` - -Execute the following commands in order to run the "Hello World" COBOL program. - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation/1.0.3.md b/doc/installation/1.0.3.md deleted file mode 100644 index cbf8ad68..00000000 --- a/doc/installation/1.0.3.md +++ /dev/null @@ -1,68 +0,0 @@ -We have confirmed that opensource COBOL 4j works on CentOS8. - -# Manual install - -## Install dependencies - -Run the following command. - -``` -rpm --import http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems &&\ -curl -o /etc/yum.repos.d/zulu.repo http://repos.azulsystems.com/rhel/zulu.repo &&\ -dnf install -y gcc gcc-c++ make bison flex gmp-devel ncurses-devel zulu-14 unzip automake autoconf libtool &&\ -ln -s /usr/bin/aclocal /usr/bin/aclocal-1.13 &&\ -ln -s /usr/bin/automake /usr/bin/automake-1.13 -``` - -## Download opensource COBOL 4j v1.0.3 and JDBC for SQLite - -Run the following command. -``` -curl -L -o opensourcecobol4j.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.3.tar.gz &&\ -curl -L -o libcobj.jar https://github.com/opensourcecobol/opensourcecobol4j/releases/download/v1.0.3/libcobj-1.0.3.jar &&\ -curl -L -o sqlite.jar https://github.com/xerial/sqlite-jdbc/releases/download/3.36.0.3/sqlite-jdbc-3.36.0.3.jar &&\ -tar zxvf opensourcecobol4j.tar.gz -``` - -## Set CLASSPATH - -After running the command in the previous section, there exist libcobj.jar and sqlite.jar in the current directory. -Add libcobj.jar and sqlite.jar to the environment variable $CLASSPATH. - -## Install opensource COBOL 4j - -Move into the directory 'opensourcecobol4j-1.0.3' and run the following command. - -``` -./configure --prefix=/usr/ &&\ -make install &&\ -cd ../ &&\ -./configure --prefix=/usr/ --with-vbisam &&\ -make install -``` - -# Install with Docker - -The docker container for opensource COBOL 4j is available. - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.3 -``` - -Execute the following commands in order to run the "Hello World" COBOL program. - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobc HELLO.cbl - -# The cobc compiler produces HELLO.java and HELLO.class -$ ls -HELLO.cbl HELLO.class HELLO.java - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation/1.0.4.md b/doc/installation/1.0.4.md deleted file mode 100644 index fe98e40a..00000000 --- a/doc/installation/1.0.4.md +++ /dev/null @@ -1,65 +0,0 @@ -We have confirmed that opensource COBOL 4j v1.0.4 works on Ubuntu. - -# Manual install - -## Install dependencies - -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 -``` - -## Install SQLite JDBC Driver - -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" -``` - -## Install opensource COBOL 4j - -``` -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-1.0.4 -./configure --prefix=/usr/ -make -sudo make install -cp libcobj/build/libcobj.jar ~/.java_lib -``` - -## Set $CLASSPATH - -Add ~/.java_lib/libcobj.jar and ~/.java_lib/sqlite.jar to the environment variable $CLASSPATH. - -# Install with Docker - - -The docker container for opensource COBOL 4j is available. - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.4 -``` - -Execute the following commands in order to run the "Hello World" COBOL program. - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# The cobc compiler produces HELLO.java and HELLO.class -$ ls -HELLO.cbl HELLO.class HELLO.java - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation/1.0.5.md b/doc/installation/1.0.5.md deleted file mode 100644 index 057dedfc..00000000 --- a/doc/installation/1.0.5.md +++ /dev/null @@ -1,61 +0,0 @@ -We have confirmed that opensource COBOL 4J v1.0.5 works on Ubuntu. - -# Manual install - -## Install dependencies - -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 -``` - -## Install SQLite JDBC Driver - -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" -``` - -## Install opensource COBOL 4J - -``` -curl -L -o opensourcecobol4j-v1.0.5.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.5.tar.gz -tar zxvf opensourcecobol4j-v1.0.5.tar.gz -cd opensourcecobol4j-1.0.5 -./configure --prefix=/usr/ -make -sudo make install -cp libcobj/build/libcobj.jar ~/.java_lib -``` - -## Set $CLASSPATH - -Add ~/.java_lib/libcobj.jar and ~/.java_lib/sqlite.jar to the environment variable $CLASSPATH. - -# Install with Docker - - -The docker container for opensource COBOL 4J is available. - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.5 -``` - -Execute the following commands in order to run the "Hello World" COBOL program. - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation/1.0.6.md b/doc/installation/1.0.6.md deleted file mode 100644 index 226e88c9..00000000 --- a/doc/installation/1.0.6.md +++ /dev/null @@ -1,60 +0,0 @@ -We have confirmed that opensource COBOL 4J v1.0.6 works on Ubuntu and AlmaLinux. - -# Manual install - -## Install dependencies - -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 -``` - -## Install SQLite JDBC Driver - -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" -``` - -## Install opensource COBOL 4J - -``` -curl -L -o opensourcecobol4j-v1.0.6.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.6.tar.gz -tar zxvf opensourcecobol4j-v1.0.6.tar.gz -cd opensourcecobol4j-1.0.6 -./configure --prefix=/usr/ -make -sudo make install -``` - -## Set $CLASSPATH - -Add /usr/lib/opensourcecobol4j/libcobj.jar and ~/.java_lib/sqlite.jar to the environment variable $CLASSPATH. - -# Install with Docker - - -The docker container for opensource COBOL 4J is available. - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.6 -``` - -Execute the following commands in order to run the "Hello World" COBOL program. - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation/1.0.7.md b/doc/installation/1.0.7.md deleted file mode 100644 index fdb28765..00000000 --- a/doc/installation/1.0.7.md +++ /dev/null @@ -1,60 +0,0 @@ -We have confirmed that opensource COBOL 4J v1.0.7 works on Ubuntu and AlmaLinux. - -# Manual install - -## Install dependencies - -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 -``` - -## Install SQLite JDBC Driver - -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" -``` - -## Install opensource COBOL 4J - -``` -curl -L -o opensourcecobol4j-v1.0.7.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.7.tar.gz -tar zxvf opensourcecobol4j-v1.0.7.tar.gz -cd opensourcecobol4j-1.0.7 -./configure --prefix=/usr/ -make -sudo make install -``` - -## Set $CLASSPATH - -Add /usr/lib/opensourcecobol4j/libcobj.jar and ~/.java_lib/sqlite.jar to the environment variable $CLASSPATH. - -# Install with Docker - - -The docker container for opensource COBOL 4J is available. - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.7 -``` - -Execute the following commands in order to run the "Hello World" COBOL program. - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation/1.0.8.md b/doc/installation/1.0.8.md deleted file mode 100644 index fc1fc88b..00000000 --- a/doc/installation/1.0.8.md +++ /dev/null @@ -1,60 +0,0 @@ -We have confirmed that opensource COBOL 4J v1.0.8 works on Ubuntu and AlmaLinux. - -# Manual install - -## Install dependencies - -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 -``` - -## Install SQLite JDBC Driver - -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" -``` - -## Install opensource COBOL 4J - -``` -curl -L -o opensourcecobol4j-v1.0.8.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.8.tar.gz -tar zxvf opensourcecobol4j-v1.0.8.tar.gz -cd opensourcecobol4j-1.0.8 -./configure --prefix=/usr/ -make -sudo make install -``` - -## Set $CLASSPATH - -Add /usr/lib/opensourcecobol4j/libcobj.jar and ~/.java_lib/sqlite.jar to the environment variable $CLASSPATH. - -# Install with Docker - - -The docker container for opensource COBOL 4J is available. - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.8 -``` - -Execute the following commands in order to run the "Hello World" COBOL program. - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation/1.0.9.md b/doc/installation/1.0.9.md deleted file mode 100644 index bb2b5ede..00000000 --- a/doc/installation/1.0.9.md +++ /dev/null @@ -1,60 +0,0 @@ -We have confirmed that opensource COBOL 4J v1.0.9 works on Ubuntu and AlmaLinux. - -# Manual install - -## Install dependencies - -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 -``` - -## Install SQLite JDBC Driver - -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" -``` - -## Install opensource COBOL 4J - -``` -curl -L -o opensourcecobol4j-v1.0.9.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.9.tar.gz -tar zxvf opensourcecobol4j-v1.0.9.tar.gz -cd opensourcecobol4j-1.0.9 -./configure --prefix=/usr/ -make -sudo make install -``` - -## Set $CLASSPATH - -Add /usr/lib/opensourcecobol4j/libcobj.jar and ~/.java_lib/sqlite.jar to the environment variable $CLASSPATH. - -# Install with Docker - - -The docker container for opensource COBOL 4J is available. - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.9 -``` - -Execute the following commands in order to run the "Hello World" COBOL program. - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation_jp/1.0.10.md b/doc/installation_jp/1.0.10.md deleted file mode 100644 index d5681bdd..00000000 --- a/doc/installation_jp/1.0.10.md +++ /dev/null @@ -1,61 +0,0 @@ -opensource COBOL 4J v1.0.10はUbuntuとAlmaLinuxで動作を確認しています. - -# 手動インストール - -## 依存ライブラリのインストール - -下記のコマンドを実行する - -``` -sudo apt-get update -sudo apt-get install default-jdk -sudo apt-get install -y build-essential bison flex gettext texinfo libgmp-dev autoconf -``` - -## SQLite JDBC Driverのインストール - -下記のコマンドを実行する -``` -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" -``` - -## opensource COBOL 4Jのインストール - -下記のコマンドを実行する - -``` -curl -L -o opensourcecobol4j-v1.0.10.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.10.tar.gz -tar zxvf opensourcecobol4j-v1.0.10.tar.gz -cd opensourcecobol4j-1.0.10 -./configure --prefix=/usr/ -make -sudo make install -``` - -## $CLASSPATHの設定 - -/usr/lib/opensourcecobol4j/libcobj.jar と ~/.java_lib/sqlite.jar を 環境変数$CLASSPATH に追加する. - -# Dockerによるインストール - -opensource COBOL 4J v1.0.10をインストールしたDockerイメージを利用できる。 - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.10 -``` - -コンテナ内で下記のコマンドを実行すると、Hello Worldプログラムをコンパイル&実行できる。 - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation_jp/1.0.11.md b/doc/installation_jp/1.0.11.md deleted file mode 100644 index 9f8dc88a..00000000 --- a/doc/installation_jp/1.0.11.md +++ /dev/null @@ -1,61 +0,0 @@ -opensource COBOL 4J v1.0.11はUbuntuとAlmaLinuxで動作を確認しています. - -# 手動インストール - -## 依存ライブラリのインストール - -下記のコマンドを実行する - -``` -sudo apt-get update -sudo apt-get install default-jdk -sudo apt-get install -y build-essential bison flex gettext texinfo libgmp-dev autoconf -``` - -## SQLite JDBC Driverのインストール - -下記のコマンドを実行する -``` -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" -``` - -## opensource COBOL 4Jのインストール - -下記のコマンドを実行する - -``` -curl -L -o opensourcecobol4j-v1.0.11.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.11.tar.gz -tar zxvf opensourcecobol4j-v1.0.11.tar.gz -cd opensourcecobol4j-1.0.11 -./configure --prefix=/usr/ -make -sudo make install -``` - -## $CLASSPATHの設定 - -/usr/lib/opensourcecobol4j/libcobj.jar と ~/.java_lib/sqlite.jar を 環境変数$CLASSPATH に追加する. - -# Dockerによるインストール - -opensource COBOL 4J v1.0.11をインストールしたDockerイメージを利用できる。 - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.11 -``` - -コンテナ内で下記のコマンドを実行すると、Hello Worldプログラムをコンパイル&実行できる。 - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation_jp/1.0.12.md b/doc/installation_jp/1.0.12.md deleted file mode 100644 index 914694bc..00000000 --- a/doc/installation_jp/1.0.12.md +++ /dev/null @@ -1,60 +0,0 @@ -opensource COBOL 4J v1.0.12はUbuntuとAlmaLinuxで動作を確認しています. - -# 手動インストール - -## 依存ライブラリのインストール - -下記のコマンドを実行する - -``` -sudo apt-get update -sudo apt-get install -y default-jdk build-essential bison flex gettext texinfo libgmp-dev autoconf -``` - -## SQLite JDBC Driverのインストール - -下記のコマンドを実行する -``` -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" -``` - -## opensource COBOL 4Jのインストール - -下記のコマンドを実行する - -``` -curl -L -o opensourcecobol4j-v1.0.12.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.12.tar.gz -tar zxvf opensourcecobol4j-v1.0.12.tar.gz -cd opensourcecobol4j-1.0.12 -./configure --prefix=/usr/ -make -sudo make install -``` - -## $CLASSPATHの設定 - -/usr/lib/opensourcecobol4j/libcobj.jar と ~/.java_lib/sqlite.jar を 環境変数$CLASSPATH に追加する. - -# Dockerによるインストール - -opensource COBOL 4J v1.0.12をインストールしたDockerイメージを利用できる。 - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.12 -``` - -コンテナ内で下記のコマンドを実行すると、Hello Worldプログラムをコンパイル&実行できる。 - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation_jp/1.0.13.md b/doc/installation_jp/1.0.13.md deleted file mode 100644 index 1507248c..00000000 --- a/doc/installation_jp/1.0.13.md +++ /dev/null @@ -1,60 +0,0 @@ -opensource COBOL 4J v1.0.13はUbuntuとAlmaLinuxで動作を確認しています. - -# 手動インストール - -## 依存ライブラリのインストール - -下記のコマンドを実行する - -``` -sudo apt-get update -sudo apt-get install -y default-jdk build-essential bison flex gettext texinfo libgmp-dev autoconf -``` - -## SQLite JDBC Driverのインストール - -下記のコマンドを実行する -``` -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" -``` - -## opensource COBOL 4Jのインストール - -下記のコマンドを実行する - -``` -curl -L -o opensourcecobol4j-v1.0.13.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.13.tar.gz -tar zxvf opensourcecobol4j-v1.0.13.tar.gz -cd opensourcecobol4j-1.0.13 -./configure --prefix=/usr/ -make -sudo make install -``` - -## $CLASSPATHの設定 - -/usr/lib/opensourcecobol4j/libcobj.jar と ~/.java_lib/sqlite.jar を 環境変数$CLASSPATH に追加する. - -# Dockerによるインストール - -opensource COBOL 4J v1.0.13をインストールしたDockerイメージが利用可能である. - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.13 -``` - -コンテナ内で下記のコマンドを実行すると、Hello Worldプログラムをコンパイル&実行できる。 - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation_jp/1.0.14.md b/doc/installation_jp/1.0.14.md deleted file mode 100644 index d9319281..00000000 --- a/doc/installation_jp/1.0.14.md +++ /dev/null @@ -1,52 +0,0 @@ -opensource COBOL 4J v1.0.14はUbuntuとAlmaLinuxで動作を確認しています. - -# 手動インストール - -## 依存ライブラリのインストール - -下記のコマンドを実行する - -``` -sudo apt-get update -sudo apt-get install -y default-jdk build-essential bison flex gettext texinfo libgmp-dev autoconf -``` - -## opensource COBOL 4Jのインストール - -下記のコマンドを実行する - -``` -curl -L -o opensourcecobol4j-v1.0.14.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.14.tar.gz -tar zxvf opensourcecobol4j-v1.0.14.tar.gz -cd opensourcecobol4j-1.0.14 -curl -L -o libcobj/sqlite-jdbc/sqlite.jar https://github.com/xerial/sqlite-jdbc/releases/download/3.36.0.3/sqlite-jdbc-3.36.0.3.jar -./configure --prefix=/usr/ -make -sudo make install -``` - -## $CLASSPATHの設定 - -/usr/lib/opensourcecobol4j/libcobj.jar と ~/.java_lib/sqlite.jar を 環境変数$CLASSPATH に追加する. - -# Dockerによるインストール - -opensource COBOL 4J v1.0.14をインストールしたDockerイメージが利用可能である. - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.14 -``` - -コンテナ内で下記のコマンドを実行すると、Hello Worldプログラムをコンパイル&実行できる。 - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation_jp/1.0.15.md b/doc/installation_jp/1.0.15.md deleted file mode 100644 index 425b953a..00000000 --- a/doc/installation_jp/1.0.15.md +++ /dev/null @@ -1,52 +0,0 @@ -opensource COBOL 4J v1.0.15はUbuntuとAlmaLinuxで動作を確認しています. - -# 手動インストール - -## 依存ライブラリのインストール - -下記のコマンドを実行する - -``` -sudo apt-get update -sudo apt-get install -y default-jdk build-essential bison flex gettext texinfo libgmp-dev autoconf -``` - -## opensource COBOL 4Jのインストール - -下記のコマンドを実行する - -``` -curl -L -o opensourcecobol4j-v1.0.15.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.15.tar.gz -tar zxvf opensourcecobol4j-v1.0.15.tar.gz -cd opensourcecobol4j-1.0.15 -curl -L -o libcobj/sqlite-jdbc/sqlite.jar https://github.com/xerial/sqlite-jdbc/releases/download/3.36.0.3/sqlite-jdbc-3.36.0.3.jar -./configure --prefix=/usr/ -make -sudo make install -``` - -## $CLASSPATHの設定 - -/usr/lib/opensourcecobol4j/libcobj.jar と ~/.java_lib/sqlite.jar を 環境変数$CLASSPATH に追加する. - -# Dockerによるインストール - -opensource COBOL 4J v1.0.15をインストールしたDockerイメージを利用できる. - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.15 -``` - -コンテナ内で下記のコマンドを実行すると、Hello Worldプログラムをコンパイル&実行できる。 - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation_jp/1.0.16.md b/doc/installation_jp/1.0.16.md deleted file mode 100644 index 5435bc54..00000000 --- a/doc/installation_jp/1.0.16.md +++ /dev/null @@ -1,51 +0,0 @@ -opensource COBOL 4J v1.0.16はUbuntuとAlmaLinuxで動作を確認しています. - -# 手動インストール - -## 依存ライブラリのインストール - -下記のコマンドを実行する - -``` -sudo apt-get update -sudo apt-get install -y default-jdk build-essential bison flex gettext texinfo libgmp-dev autoconf -``` - -## opensource COBOL 4Jのインストール - -下記のコマンドを実行する - -``` -curl -L -o opensourcecobol4j-v1.0.16.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.16.tar.gz -tar zxvf opensourcecobol4j-v1.0.16.tar.gz -cd opensourcecobol4j-1.0.16 -./configure --prefix=/usr/ -make -sudo make install -``` - -## $CLASSPATHの設定 - -/usr/lib/opensourcecobol4j/libcobj.jar を 環境変数$CLASSPATH に追加する. - -# Dockerによるインストール - -opensource COBOL 4J v1.0.16をインストールしたDockerイメージを利用できる. - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.16 -``` - -コンテナ内で下記のコマンドを実行すると、Hello Worldプログラムをコンパイル&実行できる。 - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation_jp/1.0.17.md b/doc/installation_jp/1.0.17.md deleted file mode 100644 index 117adbf7..00000000 --- a/doc/installation_jp/1.0.17.md +++ /dev/null @@ -1,51 +0,0 @@ -opensource COBOL 4J v1.0.17はUbuntuとAlmaLinuxで動作を確認しています. - -# 手動インストール - -## 依存ライブラリのインストール - -下記のコマンドを実行する - -``` -sudo apt-get update -sudo apt-get install -y default-jdk build-essential bison flex gettext texinfo libgmp-dev autoconf -``` - -## opensource COBOL 4Jのインストール - -下記のコマンドを実行する - -``` -curl -L -o opensourcecobol4j-v1.0.17.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.17.tar.gz -tar zxvf opensourcecobol4j-v1.0.17.tar.gz -cd opensourcecobol4j-1.0.17 -./configure --prefix=/usr/ -make -sudo make install -``` - -## $CLASSPATHの設定 - -/usr/lib/opensourcecobol4j/libcobj.jar を 環境変数$CLASSPATH に追加する. - -# Dockerによるインストール - -opensource COBOL 4J v1.0.17をインストールしたDockerイメージを利用できます. - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.17 -``` - -コンテナ内で下記のコマンドを実行すると、Hello Worldプログラムをコンパイル&実行できる。 - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation_jp/1.0.3.md b/doc/installation_jp/1.0.3.md deleted file mode 100644 index c1fcd6c4..00000000 --- a/doc/installation_jp/1.0.3.md +++ /dev/null @@ -1,69 +0,0 @@ -opensource COBOL 4jはCentOS8での動作を確認しています。 - -# 手動インストール - -## 依存ライブラリのインストール - -下記のコマンドを実行する。 - -``` -rpm --import http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems &&\ -curl -o /etc/yum.repos.d/zulu.repo http://repos.azulsystems.com/rhel/zulu.repo &&\ -dnf install -y gcc gcc-c++ make bison flex gmp-devel ncurses-devel zulu-14 unzip automake autoconf libtool &&\ -ln -s /usr/bin/aclocal /usr/bin/aclocal-1.13 &&\ -ln -s /usr/bin/automake /usr/bin/automake-1.13 -``` - -## opensource COBOL 4j v1.0.3 と JDBC(SQLite)をダウンロードする - -下記のコマンドを実行する。 - -``` -curl -L -o opensourcecobol4j.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.3.tar.gz &&\ -curl -L -o libcobj.jar https://github.com/opensourcecobol/opensourcecobol4j/releases/download/v1.0.3/libcobj-1.0.3.jar &&\ -curl -L -o sqlite.jar https://github.com/xerial/sqlite-jdbc/releases/download/3.36.0.3/sqlite-jdbc-3.36.0.3.jar &&\ -tar zxvf opensourcecobol4j.tar.gz -``` - -## CLASSPATHを設定する - -上記のコマンドを実行すると,libcobj.jarとsqlite.jarがダウンロードされる。 -この2つのファイルにCLASSPATHを通す。 - -## opensource COBOL 4jをインストールする - -'opensourcecobol4j-1.0.3'ディレクトリに移動し、下記コマンドを実行する。 - -``` -./configure --prefix=/usr/ &&\ -make install &&\ -cd ../ &&\ -./configure --prefix=/usr/ --with-vbisam &&\ -make install -``` - -# Dokcerによるインストール - -下記のコマンドで、opensource COBOL 4jをインストールしたDockerイメージをダウンロードできる。 - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.3 -``` - -コンテナ内で下記のコマンドを実行すると、Hello Worldプログラムをコンパイル&実行できる。 - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobc HELLO.cbl - -# The cobc compiler produces HELLO.java and HELLO.class -$ ls -HELLO.cbl HELLO.class HELLO.java - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation_jp/1.0.4.md b/doc/installation_jp/1.0.4.md deleted file mode 100644 index 07125bef..00000000 --- a/doc/installation_jp/1.0.4.md +++ /dev/null @@ -1,68 +0,0 @@ -opensource COBOL 4j v1.0.4はUbuntuで動作を確認しています. - -# 手動インストール - -## 依存ライブラリのインストール - -下記のコマンドを実行する - -``` -sudo apt-get update -sudo apt-get install default-jdk -sudo apt-get install -y build-essential bison flex gettext texinfo libgmp-dev autoconf -``` - -## SQLite JDBC Driverのインストール - -下記のコマンドを実行する -``` -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" -``` - -## opensource COBOL 4jのインストール - -下記のコマンドを実行する - -``` -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-1.0.4 -./configure --prefix=/usr/ -make -sudo make install -cp libcobj/build/libcobj.jar ~/.java_lib -``` - -## $CLASSPATHの設定 - -~/.java_lib/libcobj.jar と ~/.java_lib/sqlite.jar を 環境変数$CLASSPATH に追加する. - -# Dockerによるインストール - -# Dokcerによるインストール - -下記のコマンドで、opensource COBOL 4jをインストールしたDockerイメージをダウンロードできる。 - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.4 -``` - -コンテナ内で下記のコマンドを実行すると、Hello Worldプログラムをコンパイル&実行できる。 - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# The cobc compiler produces HELLO.java and HELLO.class -$ ls -HELLO.cbl HELLO.class HELLO.java - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation_jp/1.0.5.md b/doc/installation_jp/1.0.5.md deleted file mode 100644 index 2fb56806..00000000 --- a/doc/installation_jp/1.0.5.md +++ /dev/null @@ -1,62 +0,0 @@ -opensource COBOL 4j v1.0.5はUbuntuで動作を確認しています. - -# 手動インストール - -## 依存ライブラリのインストール - -下記のコマンドを実行する - -``` -sudo apt-get update -sudo apt-get install default-jdk -sudo apt-get install -y build-essential bison flex gettext texinfo libgmp-dev autoconf -``` - -## SQLite JDBC Driverのインストール - -下記のコマンドを実行する -``` -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" -``` - -## opensource COBOL 4Jのインストール - -下記のコマンドを実行する - -``` -curl -L -o opensourcecobol4j-v1.0.5.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.5.tar.gz -tar zxvf opensourcecobol4j-v1.0.5.tar.gz -cd opensourcecobol4j-1.0.5 -./configure --prefix=/usr/ -make -sudo make install -cp libcobj/build/libcobj.jar ~/.java_lib -``` - -## $CLASSPATHの設定 - -~/.java_lib/libcobj.jar と ~/.java_lib/sqlite.jar を 環境変数$CLASSPATH に追加する. - -# Dockerによるインストール - -下記のコマンドで、opensource COBOL 4JをインストールしたDockerイメージをダウンロードできる。 - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.5 -``` - -コンテナ内で下記のコマンドを実行すると、Hello Worldプログラムをコンパイル&実行できる。 - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation_jp/1.0.6.md b/doc/installation_jp/1.0.6.md deleted file mode 100644 index 1430f926..00000000 --- a/doc/installation_jp/1.0.6.md +++ /dev/null @@ -1,61 +0,0 @@ -opensource COBOL 4J v1.0.6はUbuntuとAlmaLinuxで動作を確認しています. - -# 手動インストール - -## 依存ライブラリのインストール - -下記のコマンドを実行する - -``` -sudo apt-get update -sudo apt-get install default-jdk -sudo apt-get install -y build-essential bison flex gettext texinfo libgmp-dev autoconf -``` - -## SQLite JDBC Driverのインストール - -下記のコマンドを実行する -``` -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" -``` - -## opensource COBOL 4Jのインストール - -下記のコマンドを実行する - -``` -curl -L -o opensourcecobol4j-v1.0.6.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.6.tar.gz -tar zxvf opensourcecobol4j-v1.0.6.tar.gz -cd opensourcecobol4j-1.0.6 -./configure --prefix=/usr/ -make -sudo make install -``` - -## $CLASSPATHの設定 - -/usr/lib/opensourcecobol4j/libcobj.jar と ~/.java_lib/sqlite.jar を 環境変数$CLASSPATH に追加する. - -# Dockerによるインストール - -下記のコマンドで、opensource COBOL 4JをインストールしたDockerイメージをダウンロードできる。 - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.6 -``` - -コンテナ内で下記のコマンドを実行すると、Hello Worldプログラムをコンパイル&実行できる。 - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation_jp/1.0.7.md b/doc/installation_jp/1.0.7.md deleted file mode 100644 index 7b02d7ca..00000000 --- a/doc/installation_jp/1.0.7.md +++ /dev/null @@ -1,61 +0,0 @@ -opensource COBOL 4J v1.0.7はUbuntuとAlmaLinuxで動作を確認しています. - -# 手動インストール - -## 依存ライブラリのインストール - -下記のコマンドを実行する - -``` -sudo apt-get update -sudo apt-get install default-jdk -sudo apt-get install -y build-essential bison flex gettext texinfo libgmp-dev autoconf -``` - -## SQLite JDBC Driverのインストール - -下記のコマンドを実行する -``` -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" -``` - -## opensource COBOL 4Jのインストール - -下記のコマンドを実行する - -``` -curl -L -o opensourcecobol4j-v1.0.7.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.7.tar.gz -tar zxvf opensourcecobol4j-v1.0.7.tar.gz -cd opensourcecobol4j-1.0.7 -./configure --prefix=/usr/ -make -sudo make install -``` - -## $CLASSPATHの設定 - -/usr/lib/opensourcecobol4j/libcobj.jar と ~/.java_lib/sqlite.jar を 環境変数$CLASSPATH に追加する. - -# Dockerによるインストール - -下記のコマンドで、opensource COBOL 4JをインストールしたDockerイメージをダウンロードできる。 - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.7 -``` - -コンテナ内で下記のコマンドを実行すると、Hello Worldプログラムをコンパイル&実行できる。 - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation_jp/1.0.8.md b/doc/installation_jp/1.0.8.md deleted file mode 100644 index 4cb2cb04..00000000 --- a/doc/installation_jp/1.0.8.md +++ /dev/null @@ -1,61 +0,0 @@ -opensource COBOL 4J v1.0.8はUbuntuとAlmaLinuxで動作を確認しています. - -# 手動インストール - -## 依存ライブラリのインストール - -下記のコマンドを実行する - -``` -sudo apt-get update -sudo apt-get install default-jdk -sudo apt-get install -y build-essential bison flex gettext texinfo libgmp-dev autoconf -``` - -## SQLite JDBC Driverのインストール - -下記のコマンドを実行する -``` -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" -``` - -## opensource COBOL 4Jのインストール - -下記のコマンドを実行する - -``` -curl -L -o opensourcecobol4j-v1.0.8.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.8.tar.gz -tar zxvf opensourcecobol4j-v1.0.8.tar.gz -cd opensourcecobol4j-1.0.8 -./configure --prefix=/usr/ -make -sudo make install -``` - -## $CLASSPATHの設定 - -/usr/lib/opensourcecobol4j/libcobj.jar と ~/.java_lib/sqlite.jar を 環境変数$CLASSPATH に追加する. - -# Dockerによるインストール - -下記のコマンドで、opensource COBOL 4JをインストールしたDockerイメージをダウンロードできる。 - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.8 -``` - -コンテナ内で下記のコマンドを実行すると、Hello Worldプログラムをコンパイル&実行できる。 - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/installation_jp/1.0.9.md b/doc/installation_jp/1.0.9.md deleted file mode 100644 index 0b573fc8..00000000 --- a/doc/installation_jp/1.0.9.md +++ /dev/null @@ -1,61 +0,0 @@ -opensource COBOL 4J v1.0.9はUbuntuとAlmaLinuxで動作を確認しています. - -# 手動インストール - -## 依存ライブラリのインストール - -下記のコマンドを実行する - -``` -sudo apt-get update -sudo apt-get install default-jdk -sudo apt-get install -y build-essential bison flex gettext texinfo libgmp-dev autoconf -``` - -## SQLite JDBC Driverのインストール - -下記のコマンドを実行する -``` -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" -``` - -## opensource COBOL 4Jのインストール - -下記のコマンドを実行する - -``` -curl -L -o opensourcecobol4j-v1.0.9.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.9.tar.gz -tar zxvf opensourcecobol4j-v1.0.9.tar.gz -cd opensourcecobol4j-1.0.9 -./configure --prefix=/usr/ -make -sudo make install -``` - -## $CLASSPATHの設定 - -/usr/lib/opensourcecobol4j/libcobj.jar と ~/.java_lib/sqlite.jar を 環境変数$CLASSPATH に追加する. - -# Dockerによるインストール - -下記のコマンドで、opensource COBOL 4JをインストールしたDockerイメージをダウンロードできる。 - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.9 -``` - -コンテナ内で下記のコマンドを実行すると、Hello Worldプログラムをコンパイル&実行できる。 - -``` bash -# Move to the sample directory -$ cd /root/cobol_sample - -# Translate COBOL to Java and compile the Java source file. -$ cobj HELLO.cbl - -# Run "Hello World" -$ java HELLO -HELLO WORLD! -``` \ No newline at end of file diff --git a/doc/requirements-all.md b/doc/requirements-all.md index 97022d08..43823d33 100644 --- a/doc/requirements-all.md +++ b/doc/requirements-all.md @@ -1,5 +1,8 @@ | version (opensource COBOL 4J) | OS | version (JDK) | | -- | -- | -- | +| 1.0.18 | Ubuntu 22.04 | 21 | +| 1.0.18 | AlmaLinux 9 | 11 | +| 1.0.18 | Amazon Linux 2023 | 21 | | 1.0.17 | Ubuntu 22.04 | 11 | | 1.0.17 | AlmaLinux 9 | 11 | | 1.0.16 | Ubuntu 22.04 | 11 | diff --git a/libcobj/app/build.gradle.kts b/libcobj/app/build.gradle.kts index d35d3018..3f1d9c0c 100644 --- a/libcobj/app/build.gradle.kts +++ b/libcobj/app/build.gradle.kts @@ -59,7 +59,7 @@ publishing { register("gpr") { groupId = "jp.osscons.opensourcecobol" artifactId = "libcobj" - version = "1.0.17" + version = "1.0.18" from(components["java"]) } }