From 717b640631c4a04e020a5ed33feca87a1581b769 Mon Sep 17 00:00:00 2001 From: Yutaro Sakamoto Date: Mon, 25 Dec 2023 20:35:47 +0900 Subject: [PATCH 1/8] [Update]: change the version number --- configure | 26 +++++++++++++------------- configure.ac | 2 +- libcobj/app/build.gradle.kts | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) 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/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"]) } } From 8cac3bf36bbf13d329f543e3a0b1391a44ed6cf2 Mon Sep 17 00:00:00 2001 From: Yutaro Sakamoto Date: Tue, 26 Dec 2023 10:51:29 +0900 Subject: [PATCH 2/8] [Doc]: update documents --- CHANGELOG.md | 4 +-- ChangeLog | 4 +++ NEWS | 27 ++++++++++++++++++- README.md | 8 +++--- README_JP.md | 12 ++++----- doc/installation/1.0.18.md | 49 +++++++++++++++++++++++++++++++++ doc/installation_jp/1.0.18.md | 51 +++++++++++++++++++++++++++++++++++ doc/requirements-all.md | 2 ++ 8 files changed, 144 insertions(+), 13 deletions(-) create mode 100644 doc/installation/1.0.18.md create mode 100644 doc/installation_jp/1.0.18.md diff --git a/CHANGELOG.md b/CHANGELOG.md index b4f406a6..3184bf4d 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 * Implement runtime numeric checkings (#253) * Implement sorting a table based on ebcdic (#254) @@ -22,7 +22,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..700d8444 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,31 @@ NEWS - user visible changes -*- outline -*- ----------------------------------------------------------------------- +* opensource COBOL 4J 1.0.18 + +** New Features + (1) Implement runtime numeric checkings + (2) Implement sorting a table based on ebcdic + (3) Implement KEY IS option of SORT statements + (4) Add documents that describes installations and requirements + (5) Implement the environemt variable COB_NIBBLE_C_UNSIGNED + (6) Add intrinsic functions + (a) `C$CALLEDBY` + (b) `C$LIST-DIRECTORY` + (7) 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 +51,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..6c633d0c 100644 --- a/README.md +++ b/README.md @@ -34,9 +34,9 @@ sudo apt-get install -y default-jdk build-essential bison flex gettext texinfo l ### 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 +53,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. diff --git a/README_JP.md b/README_JP.md index 22943774..e1dfcd36 100644 --- a/README_JP.md +++ b/README_JP.md @@ -22,7 +22,7 @@ opensource COBOL 4J は下記の環境でテストされています. ## インストール -opensource COBOL 4J v1.0.17はUbuntuとAlmaLinuxで動作を確認しています. +opensource COBOL 4J v1.0.18はUbuntuとAlmaLinuxで動作を確認しています. # 手動インストール @@ -40,9 +40,9 @@ sudo apt-get install -y default-jdk build-essential bison flex gettext texinfo l 下記のコマンドを実行する ``` -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 @@ -56,10 +56,10 @@ sudo make install # 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プログラムをコンパイル&実行できる。 diff --git a/doc/installation/1.0.18.md b/doc/installation/1.0.18.md new file mode 100644 index 00000000..3260c47f --- /dev/null +++ b/doc/installation/1.0.18.md @@ -0,0 +1,49 @@ +We have confirmed that opensource COBOL 4J v1.0.18 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.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 +``` + +## 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.18 +``` + +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.18.md b/doc/installation_jp/1.0.18.md new file mode 100644 index 00000000..3827ec6b --- /dev/null +++ b/doc/installation_jp/1.0.18.md @@ -0,0 +1,51 @@ +opensource COBOL 4J v1.0.18は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.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の設定 + +/usr/lib/opensourcecobol4j/libcobj.jar を 環境変数$CLASSPATH に追加する. + +# Dockerによるインストール + +opensource COBOL 4J v1.0.18をインストールしたDockerイメージを利用できます. + +```bash +docker pull opensourcecobol/opensourcecobol4j:1.0.18 +``` + +コンテナ内で下記のコマンドを実行すると、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..4d80118c 100644 --- a/doc/requirements-all.md +++ b/doc/requirements-all.md @@ -1,5 +1,7 @@ | version (opensource COBOL 4J) | OS | version (JDK) | | -- | -- | -- | +| 1.0.18 | Ubuntu 22.04 | 11 | +| 1.0.18 | AlmaLinux 9 | 11 | | 1.0.17 | Ubuntu 22.04 | 11 | | 1.0.17 | AlmaLinux 9 | 11 | | 1.0.16 | Ubuntu 22.04 | 11 | From 85a9ec1219639b5120cca3fa29b06e39df78dd97 Mon Sep 17 00:00:00 2001 From: Yutaro Sakamoto Date: Tue, 26 Dec 2023 14:10:08 +0900 Subject: [PATCH 3/8] [Doc]: Add descriptions of Amazon Linux 2023 * Due to #282, opensource COBOL 4J are tested on Amazon Linux 2023. Hence, this commit updates documents so that users notice taht Amazon Linux 2023 is available to work with opensource COBOL 4J. --- NEWS | 15 ++++++++------- README.md | 2 +- README_JP.md | 2 +- doc/installation/1.0.18.md | 2 +- doc/installation_jp/1.0.18.md | 2 +- doc/requirements-all.md | 1 + 6 files changed, 13 insertions(+), 11 deletions(-) diff --git a/NEWS b/NEWS index 700d8444..b384935b 100644 --- a/NEWS +++ b/NEWS @@ -5,15 +5,16 @@ NEWS - user visible changes -*- outline -*- * opensource COBOL 4J 1.0.18 ** New Features - (1) Implement runtime numeric checkings - (2) Implement sorting a table based on ebcdic - (3) Implement KEY IS option of SORT statements - (4) Add documents that describes installations and requirements - (5) Implement the environemt variable COB_NIBBLE_C_UNSIGNED - (6) Add intrinsic functions + (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 intrinsic functions (a) `C$CALLEDBY` (b) `C$LIST-DIRECTORY` - (7) Implement `NUMBER-OF-PARAMETERS` + (8) Implement `NUMBER-OF-PARAMETERS` ** Bug fixes (1) Fix the message of COB_VERBOSE file sort (2) Fix the process that checks MOVE statements diff --git a/README.md b/README.md index 6c633d0c..86560848 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ 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 +* Ubuntu 22.04, AlmaLinux 9 and Amazon Linux 2023 * OpenJDK 11 In order to check requirements of older versions, diff --git a/README_JP.md b/README_JP.md index e1dfcd36..61667889 100644 --- a/README_JP.md +++ b/README_JP.md @@ -14,7 +14,7 @@ opensource COBOL 4JはCOBOLからCに変換するCOBOLコンパイラ["opensourc opensource COBOL 4J は下記の環境でテストされています. -* Ubuntu 22.04 および AlmaLinux 9 +* Ubuntu 22.04, AlmaLinux 9 および Amazon Linux 2023 * OpenJDK 11 古いバージョンの動作環境については、[doc/requirements-all.md](./doc/requirements-all.md)をご覧ください. diff --git a/doc/installation/1.0.18.md b/doc/installation/1.0.18.md index 3260c47f..5e6b6549 100644 --- a/doc/installation/1.0.18.md +++ b/doc/installation/1.0.18.md @@ -1,4 +1,4 @@ -We have confirmed that opensource COBOL 4J v1.0.18 works on Ubuntu and AlmaLinux. +We have confirmed that opensource COBOL 4J v1.0.18 works on Ubuntu 22.04, AlmaLinux 9 and Amazon Linux 2023. # Manual install diff --git a/doc/installation_jp/1.0.18.md b/doc/installation_jp/1.0.18.md index 3827ec6b..ee086e15 100644 --- a/doc/installation_jp/1.0.18.md +++ b/doc/installation_jp/1.0.18.md @@ -1,4 +1,4 @@ -opensource COBOL 4J v1.0.18はUbuntuとAlmaLinuxで動作を確認しています. +opensource COBOL 4J v1.0.18はUbuntu 22.04,AlmaLinux 9, Amazon Linux 2023で動作を確認しています. # 手動インストール diff --git a/doc/requirements-all.md b/doc/requirements-all.md index 4d80118c..2c6a7b25 100644 --- a/doc/requirements-all.md +++ b/doc/requirements-all.md @@ -2,6 +2,7 @@ | -- | -- | -- | | 1.0.18 | Ubuntu 22.04 | 11 | | 1.0.18 | AlmaLinux 9 | 11 | +| 1.0.18 | Amazon Linux 2023 | 11 | | 1.0.17 | Ubuntu 22.04 | 11 | | 1.0.17 | AlmaLinux 9 | 11 | | 1.0.16 | Ubuntu 22.04 | 11 | From be07949cbd9c7c515df28469995960f05e2bf9f8 Mon Sep 17 00:00:00 2001 From: Yutaro Sakamoto Date: Tue, 26 Dec 2023 14:54:57 +0900 Subject: [PATCH 4/8] [Doc]: add descriptions of installation commands for each platforms * Add installation commands for Ubuntu, AlmaLinux, Amazon Linux to each documents --- README.md | 20 +++++++++++++++++++- README_JP.md | 34 +++++++++++++++++++++++++--------- doc/installation/1.0.18.md | 16 ++++++++++++++++ doc/installation_jp/1.0.18.md | 18 +++++++++++++++++- 4 files changed, 77 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 86560848..5e738dea 100644 --- a/README.md +++ b/README.md @@ -27,11 +27,29 @@ 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-11-amazon-corretto-devel gcc make bison flex automake autoconf diffutils gettext tar gzip +``` + ### Install opensource COBOL 4J ``` curl -L -o opensourcecobol4j-v1.0.18.tar.gz https://github.com/opensourcecobol/opensourcecobol4j/archive/refs/tags/v1.0.18.tar.gz @@ -134,7 +152,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 61667889..790587f1 100644 --- a/README_JP.md +++ b/README_JP.md @@ -24,18 +24,34 @@ opensource COBOL 4J は下記の環境でテストされています. 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-11-amazon-corretto-devel gcc make bison flex automake autoconf diffutils gettext tar gzip +``` + +### opensource COBOL 4Jのインストール 下記のコマンドを実行する @@ -48,13 +64,13 @@ 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.18をインストールしたDockerイメージを利用できます. @@ -103,9 +119,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 +159,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/doc/installation/1.0.18.md b/doc/installation/1.0.18.md index 5e6b6549..681732d2 100644 --- a/doc/installation/1.0.18.md +++ b/doc/installation/1.0.18.md @@ -6,11 +6,27 @@ We have confirmed that opensource COBOL 4J v1.0.18 works on Ubuntu 22.04, AlmaLi Run the following command. +### 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-11-amazon-corretto-devel gcc make bison flex automake autoconf diffutils gettext tar gzip +``` + ## Install opensource COBOL 4J ``` diff --git a/doc/installation_jp/1.0.18.md b/doc/installation_jp/1.0.18.md index ee086e15..6f24ce97 100644 --- a/doc/installation_jp/1.0.18.md +++ b/doc/installation_jp/1.0.18.md @@ -4,13 +4,29 @@ opensource COBOL 4J v1.0.18はUbuntu 22.04,AlmaLinux 9, Amazon Linux 2023で動 ## 依存ライブラリのインストール -下記のコマンドを実行する +下記のコマンドを実行する。 + +### 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-11-amazon-corretto-devel gcc make bison flex automake autoconf diffutils gettext tar gzip +``` + ## opensource COBOL 4Jのインストール 下記のコマンドを実行する From f73947fc2f765977e5e180cbcf41575c8c4205c7 Mon Sep 17 00:00:00 2001 From: Yutaro Sakamoto Date: Tue, 26 Dec 2023 15:04:40 +0900 Subject: [PATCH 5/8] [Update]: simplify .github/workflows/build.yml slightly --- .github/workflows/build.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 00d6c72b..40204642 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,12 +35,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-11-amazon-corretto-devel gcc make bison flex automake autoconf diffutils gettext tar gzip - name: Checkout opensource COBOL 4J uses: actions/checkout@v3 From b587ef41c6d8a0dbb14befb59c5cc79b4b9ea643 Mon Sep 17 00:00:00 2001 From: Yutaro Sakamoto Date: Tue, 26 Dec 2023 17:14:30 +0900 Subject: [PATCH 6/8] [Remove]: remove old installation manuals --- doc/installation/1.0.10.md | 60 ------------------------------ doc/installation/1.0.11.md | 60 ------------------------------ doc/installation/1.0.12.md | 59 ------------------------------ doc/installation/1.0.13.md | 59 ------------------------------ doc/installation/1.0.14.md | 51 -------------------------- doc/installation/1.0.15.md | 51 -------------------------- doc/installation/1.0.16.md | 50 ------------------------- doc/installation/1.0.17.md | 49 ------------------------- doc/installation/1.0.18.md | 65 --------------------------------- doc/installation/1.0.3.md | 68 ---------------------------------- doc/installation/1.0.4.md | 65 --------------------------------- doc/installation/1.0.5.md | 61 ------------------------------- doc/installation/1.0.6.md | 60 ------------------------------ doc/installation/1.0.7.md | 60 ------------------------------ doc/installation/1.0.8.md | 60 ------------------------------ doc/installation/1.0.9.md | 60 ------------------------------ doc/installation_jp/1.0.10.md | 61 ------------------------------- doc/installation_jp/1.0.11.md | 61 ------------------------------- doc/installation_jp/1.0.12.md | 60 ------------------------------ doc/installation_jp/1.0.13.md | 60 ------------------------------ doc/installation_jp/1.0.14.md | 52 -------------------------- doc/installation_jp/1.0.15.md | 52 -------------------------- doc/installation_jp/1.0.16.md | 51 -------------------------- doc/installation_jp/1.0.17.md | 51 -------------------------- doc/installation_jp/1.0.18.md | 67 ---------------------------------- doc/installation_jp/1.0.3.md | 69 ----------------------------------- doc/installation_jp/1.0.4.md | 68 ---------------------------------- doc/installation_jp/1.0.5.md | 62 ------------------------------- doc/installation_jp/1.0.6.md | 61 ------------------------------- doc/installation_jp/1.0.7.md | 61 ------------------------------- doc/installation_jp/1.0.8.md | 61 ------------------------------- doc/installation_jp/1.0.9.md | 61 ------------------------------- 32 files changed, 1896 deletions(-) delete mode 100644 doc/installation/1.0.10.md delete mode 100644 doc/installation/1.0.11.md delete mode 100644 doc/installation/1.0.12.md delete mode 100644 doc/installation/1.0.13.md delete mode 100644 doc/installation/1.0.14.md delete mode 100644 doc/installation/1.0.15.md delete mode 100644 doc/installation/1.0.16.md delete mode 100644 doc/installation/1.0.17.md delete mode 100644 doc/installation/1.0.18.md delete mode 100644 doc/installation/1.0.3.md delete mode 100644 doc/installation/1.0.4.md delete mode 100644 doc/installation/1.0.5.md delete mode 100644 doc/installation/1.0.6.md delete mode 100644 doc/installation/1.0.7.md delete mode 100644 doc/installation/1.0.8.md delete mode 100644 doc/installation/1.0.9.md delete mode 100644 doc/installation_jp/1.0.10.md delete mode 100644 doc/installation_jp/1.0.11.md delete mode 100644 doc/installation_jp/1.0.12.md delete mode 100644 doc/installation_jp/1.0.13.md delete mode 100644 doc/installation_jp/1.0.14.md delete mode 100644 doc/installation_jp/1.0.15.md delete mode 100644 doc/installation_jp/1.0.16.md delete mode 100644 doc/installation_jp/1.0.17.md delete mode 100644 doc/installation_jp/1.0.18.md delete mode 100644 doc/installation_jp/1.0.3.md delete mode 100644 doc/installation_jp/1.0.4.md delete mode 100644 doc/installation_jp/1.0.5.md delete mode 100644 doc/installation_jp/1.0.6.md delete mode 100644 doc/installation_jp/1.0.7.md delete mode 100644 doc/installation_jp/1.0.8.md delete mode 100644 doc/installation_jp/1.0.9.md 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.18.md b/doc/installation/1.0.18.md deleted file mode 100644 index 681732d2..00000000 --- a/doc/installation/1.0.18.md +++ /dev/null @@ -1,65 +0,0 @@ -We have confirmed that opensource COBOL 4J v1.0.18 works on Ubuntu 22.04, AlmaLinux 9 and Amazon Linux 2023. - -# Manual install - -## Install dependencies - -Run the following command. - -### 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-11-amazon-corretto-devel gcc make bison flex automake autoconf diffutils gettext tar gzip -``` - -## Install opensource COBOL 4J - -``` -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 -``` - -## 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.18 -``` - -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.18.md b/doc/installation_jp/1.0.18.md deleted file mode 100644 index 6f24ce97..00000000 --- a/doc/installation_jp/1.0.18.md +++ /dev/null @@ -1,67 +0,0 @@ -opensource COBOL 4J v1.0.18はUbuntu 22.04,AlmaLinux 9, Amazon Linux 2023で動作を確認しています. - -# 手動インストール - -## 依存ライブラリのインストール - -下記のコマンドを実行する。 - -### 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-11-amazon-corretto-devel gcc make bison flex automake autoconf diffutils gettext tar gzip -``` - -## opensource COBOL 4Jのインストール - -下記のコマンドを実行する - -``` -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の設定 - -/usr/lib/opensourcecobol4j/libcobj.jar を 環境変数$CLASSPATH に追加する. - -# Dockerによるインストール - -opensource COBOL 4J v1.0.18をインストールしたDockerイメージを利用できます. - -```bash -docker pull opensourcecobol/opensourcecobol4j:1.0.18 -``` - -コンテナ内で下記のコマンドを実行すると、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 From cf8794bd000b528f0f5ac593c97dc962439febdb Mon Sep 17 00:00:00 2001 From: Yutaro Sakamoto Date: Tue, 26 Dec 2023 17:17:23 +0900 Subject: [PATCH 7/8] [Doc]: update CHANGELOG.md and NEWS slightly --- CHANGELOG.md | 2 +- NEWS | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2be85ddd..9890caed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/NEWS b/NEWS index b384935b..ccd42133 100644 --- a/NEWS +++ b/NEWS @@ -11,7 +11,7 @@ NEWS - user visible changes -*- outline -*- (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 intrinsic functions + (7) Add built-in subroutines (a) `C$CALLEDBY` (b) `C$LIST-DIRECTORY` (8) Implement `NUMBER-OF-PARAMETERS` From 8995d4cc0181091c8d2fab5f7ef978e162336033 Mon Sep 17 00:00:00 2001 From: Yutaro Sakamoto Date: Tue, 26 Dec 2023 17:39:11 +0900 Subject: [PATCH 8/8] [Update]: change the JDK versions for each platforms --- .github/workflows/build.yml | 10 ++++++++-- README.md | 7 ++++--- README_JP.md | 7 ++++--- doc/requirements-all.md | 4 ++-- 4 files changed, 18 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 40204642..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,7 +41,7 @@ jobs: if: inputs.os == 'amazonlinux:2023' run: | dnf -y update - dnf install -y java-11-amazon-corretto-devel gcc make bison flex automake autoconf diffutils gettext tar gzip + 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/README.md b/README.md index 5e738dea..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, AlmaLinux 9 and Amazon Linux 2023 -* 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). @@ -47,7 +48,7 @@ dnf install -y java-11-openjdk-devel gcc make bison flex automake autoconf diffu ``` dnf -y update -dnf install -y java-11-amazon-corretto-devel gcc make bison flex automake autoconf diffutils gettext tar gzip +dnf install -y java-21-amazon-corretto-devel gcc make bison flex automake autoconf diffutils gettext tar gzip ``` ### Install opensource COBOL 4J diff --git a/README_JP.md b/README_JP.md index 790587f1..f3c027b5 100644 --- a/README_JP.md +++ b/README_JP.md @@ -14,8 +14,9 @@ opensource COBOL 4JはCOBOLからCに変換するCOBOLコンパイラ["opensourc opensource COBOL 4J は下記の環境でテストされています. -* Ubuntu 22.04, AlmaLinux 9 および Amazon Linux 2023 -* OpenJDK 11 +* Ubuntu 22.04 と OpenJDK 21 +* AlmaLinux 9 と OpenJDK 11 +* Amazon Linux 2023 と OpenJDK 21 古いバージョンの動作環境については、[doc/requirements-all.md](./doc/requirements-all.md)をご覧ください. @@ -48,7 +49,7 @@ dnf install -y java-11-openjdk-devel gcc make bison flex automake autoconf diffu ``` dnf -y update -dnf install -y java-11-amazon-corretto-devel gcc make bison flex automake autoconf diffutils gettext tar gzip +dnf install -y java-21-amazon-corretto-devel gcc make bison flex automake autoconf diffutils gettext tar gzip ``` ### opensource COBOL 4Jのインストール diff --git a/doc/requirements-all.md b/doc/requirements-all.md index 2c6a7b25..43823d33 100644 --- a/doc/requirements-all.md +++ b/doc/requirements-all.md @@ -1,8 +1,8 @@ | version (opensource COBOL 4J) | OS | version (JDK) | | -- | -- | -- | -| 1.0.18 | Ubuntu 22.04 | 11 | +| 1.0.18 | Ubuntu 22.04 | 21 | | 1.0.18 | AlmaLinux 9 | 11 | -| 1.0.18 | Amazon Linux 2023 | 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 |