From 8df560894ac67ba5e6b75be13f3a80d74272aa47 Mon Sep 17 00:00:00 2001 From: Byron Gravenorst <50852695+bgravenorst@users.noreply.github.com> Date: Tue, 25 Jun 2024 11:32:45 +1000 Subject: [PATCH] Update minimum Java version. (#1633) * Update minimum Java version. Signed-off-by: bgravenorst * Missed a few instances. Signed-off-by: bgravenorst --------- Signed-off-by: bgravenorst --- .../get-started/install/binary-distribution.md | 2 +- .../get-started/install/binary-distribution.md | 4 ++-- .../get-started/system-requirements.md | 14 +++++++------- .../public-networks/tutorials/besu-teku-mainnet.md | 2 +- .../public-networks/tutorials/besu-teku-testnet.md | 2 +- .../get-started/install/binary-distribution.md | 4 ++-- .../get-started/install/binary-distribution.md | 4 ++-- .../get-started/system-requirements.md | 14 +++++++------- .../public-networks/tutorials/besu-teku-mainnet.md | 2 +- .../public-networks/tutorials/besu-teku-testnet.md | 2 +- 10 files changed, 25 insertions(+), 25 deletions(-) diff --git a/docs/private-networks/get-started/install/binary-distribution.md b/docs/private-networks/get-started/install/binary-distribution.md index 74dcba7e6f4..9629f0ee2cc 100644 --- a/docs/private-networks/get-started/install/binary-distribution.md +++ b/docs/private-networks/get-started/install/binary-distribution.md @@ -20,7 +20,7 @@ tags: Hyperledger Besu supports: - MacOS High Sierra 10.13 or later versions. -- Java 17+. You can install Java using `brew install openjdk`. Alternatively, you can manually install the [Java JDK](https://www.oracle.com/java/technologies/downloads). +- Java 21+. You can install Java using `brew install openjdk@21`. Alternatively, you can manually install the [Java JDK](https://www.oracle.com/java/technologies/downloads). ::: diff --git a/docs/public-networks/get-started/install/binary-distribution.md b/docs/public-networks/get-started/install/binary-distribution.md index 838d67e64d9..87c28c2f506 100644 --- a/docs/public-networks/get-started/install/binary-distribution.md +++ b/docs/public-networks/get-started/install/binary-distribution.md @@ -20,7 +20,7 @@ tags: Hyperledger Besu supports: - MacOS High Sierra 10.13 or later versions. -- Java 17+. You can install Java using `brew install openjdk`. Alternatively, you can manually install the [Java JDK](https://www.oracle.com/java/technologies/downloads). +- Java 21+. You can install Java using `brew install openjdk@21`. Alternatively, you can manually install the [Java JDK](https://www.oracle.com/java/technologies/downloads). ::: @@ -64,7 +64,7 @@ besu --help ### Prerequisites -- [Java JDK 17+](https://www.oracle.com/java/technologies/downloads/) +- [Java JDK 21+](https://www.oracle.com/java/technologies/downloads/) :::note Linux open file limit diff --git a/docs/public-networks/get-started/system-requirements.md b/docs/public-networks/get-started/system-requirements.md index d4a06c98296..41308515183 100644 --- a/docs/public-networks/get-started/system-requirements.md +++ b/docs/public-networks/get-started/system-requirements.md @@ -21,7 +21,7 @@ CPU requirements are highest when syncing to the network and typically reduce af ## Java distribution and installation -Besu requires an installation of Java 17+ to run. +Besu requires an installation of Java 21+ to run. We currently recommend two Java distributions, [OpenJDK 21](https://jdk.java.net/21/) and [OpenJ9](https://www.eclipse.org/openj9/), though you can experiment based on your needs. @@ -37,12 +37,12 @@ If you have less RAM: If you have OpenJDK installed or need a fresh installation of OpenJ9, you can pick up the OpenJ9 docker image, or install the OpenJ9 JDK using the following steps: -1. Get the [binaries](https://github.com/ibmruntimes/semeru17-binaries/releases) corresponding to +1. Get the [binaries](https://github.com/ibmruntimes/semeru21-certified-binaries/releases) corresponding to your OS architecture. For example: ```bash - wget https://github.com/ibmruntimes/semeru17-binaries/releases/download/jdk-17.0.5%2B8_openj9-0.35.0/ibm-semeru-open-jdk_x64_linux_17.0.5_8_openj9-0.35.0.tar.gz + wget https://github.com/ibmruntimes/semeru21-certified-binaries/releases/download/jdk-21.0.3%2B9_openj9-0.44.0/ibm-semeru-certified-jdk_x64_linux_21.0.3.0.tar.gz ``` 2. Uncompress the binaries: @@ -57,7 +57,7 @@ docker image, or install the OpenJ9 JDK using the following steps: ```bash - tar -xvf ibm-semeru-open-jdk_x64_linux_17.0.5_8_openj9-0.35.0.tar.gz + tar -xvf ibm-semeru-certified-jdk_x64_linux_21.0.3.0.tar.gz ``` @@ -76,7 +76,7 @@ docker image, or install the OpenJ9 JDK using the following steps: ```bash - sudo cp -r jdk-17.0.5+8/ /usr/bin/ + sudo cp -r jdk-21.0.3+9/ /usr/bin/ ``` @@ -96,7 +96,7 @@ docker image, or install the OpenJ9 JDK using the following steps: ```bash - sudo update-alternatives --install "/usr/bin/java" "java" "/usr/bin/jdk-17.0.5+8/bin/java" + sudo update-alternatives --install "/usr/bin/java" "java" "/usr/bin/jdk-21.0.3+9/bin/java" ``` @@ -116,7 +116,7 @@ docker image, or install the OpenJ9 JDK using the following steps: ```bash - export JAVA_HOME=/usr/bin/jdk-17.0.5+8 + export JAVA_HOME=/usr/bin/jdk-21.0.3+9 ``` diff --git a/docs/public-networks/tutorials/besu-teku-mainnet.md b/docs/public-networks/tutorials/besu-teku-mainnet.md index bc05cb5f48c..1b7866bdaca 100644 --- a/docs/public-networks/tutorials/besu-teku-mainnet.md +++ b/docs/public-networks/tutorials/besu-teku-mainnet.md @@ -17,7 +17,7 @@ Run Besu as an [execution client](../concepts/node-clients.md#execution-clients) Install [Besu](../get-started/install/binary-distribution.md) and [Teku](https://docs.teku.consensys.net/HowTo/Get-Started/Installation-Options/Install-Binaries/). -Ensure you meet the prerequisites for the installation option you use. For example, you must have Java 17+ if using the Besu and Teku binary distributions. +Ensure you meet the prerequisites for the installation option you use. For example, you must have Java 21+ if using the Besu and Teku binary distributions. Ensure you meet the [system requirements for Besu on public networks](../get-started/system-requirements.md). diff --git a/docs/public-networks/tutorials/besu-teku-testnet.md b/docs/public-networks/tutorials/besu-teku-testnet.md index eea6ea59884..962225a223d 100644 --- a/docs/public-networks/tutorials/besu-teku-testnet.md +++ b/docs/public-networks/tutorials/besu-teku-testnet.md @@ -23,7 +23,7 @@ Sepolia is a permissioned network and you can't run a validator client on it wit Install [Besu](../get-started/install/binary-distribution.md) and [Teku](https://docs.teku.consensys.net/HowTo/Get-Started/Installation-Options/Install-Binaries/). -Ensure you meet the prerequisites for the installation option you use. For example, you must have Java 17+ if using the Besu and Teku binary distributions. +Ensure you meet the prerequisites for the installation option you use. For example, you must have Java 21+ if using the Besu and Teku binary distributions. Ensure you meet the [system requirements for Besu on public networks](../get-started/system-requirements.md). diff --git a/versioned_docs/version-24.6.0/private-networks/get-started/install/binary-distribution.md b/versioned_docs/version-24.6.0/private-networks/get-started/install/binary-distribution.md index 74dcba7e6f4..8b9f5527542 100644 --- a/versioned_docs/version-24.6.0/private-networks/get-started/install/binary-distribution.md +++ b/versioned_docs/version-24.6.0/private-networks/get-started/install/binary-distribution.md @@ -20,7 +20,7 @@ tags: Hyperledger Besu supports: - MacOS High Sierra 10.13 or later versions. -- Java 17+. You can install Java using `brew install openjdk`. Alternatively, you can manually install the [Java JDK](https://www.oracle.com/java/technologies/downloads). +- Java 21+. You can install Java using `brew install openjdk@21`. Alternatively, you can manually install the [Java JDK](https://www.oracle.com/java/technologies/downloads). ::: @@ -67,7 +67,7 @@ besu --help ### Prerequisites -- [Java JDK 17+](https://www.oracle.com/java/technologies/downloads/) +- [Java JDK 21+](https://www.oracle.com/java/technologies/downloads/) :::note Linux open file limit diff --git a/versioned_docs/version-24.6.0/public-networks/get-started/install/binary-distribution.md b/versioned_docs/version-24.6.0/public-networks/get-started/install/binary-distribution.md index 838d67e64d9..87c28c2f506 100644 --- a/versioned_docs/version-24.6.0/public-networks/get-started/install/binary-distribution.md +++ b/versioned_docs/version-24.6.0/public-networks/get-started/install/binary-distribution.md @@ -20,7 +20,7 @@ tags: Hyperledger Besu supports: - MacOS High Sierra 10.13 or later versions. -- Java 17+. You can install Java using `brew install openjdk`. Alternatively, you can manually install the [Java JDK](https://www.oracle.com/java/technologies/downloads). +- Java 21+. You can install Java using `brew install openjdk@21`. Alternatively, you can manually install the [Java JDK](https://www.oracle.com/java/technologies/downloads). ::: @@ -64,7 +64,7 @@ besu --help ### Prerequisites -- [Java JDK 17+](https://www.oracle.com/java/technologies/downloads/) +- [Java JDK 21+](https://www.oracle.com/java/technologies/downloads/) :::note Linux open file limit diff --git a/versioned_docs/version-24.6.0/public-networks/get-started/system-requirements.md b/versioned_docs/version-24.6.0/public-networks/get-started/system-requirements.md index d4a06c98296..41308515183 100644 --- a/versioned_docs/version-24.6.0/public-networks/get-started/system-requirements.md +++ b/versioned_docs/version-24.6.0/public-networks/get-started/system-requirements.md @@ -21,7 +21,7 @@ CPU requirements are highest when syncing to the network and typically reduce af ## Java distribution and installation -Besu requires an installation of Java 17+ to run. +Besu requires an installation of Java 21+ to run. We currently recommend two Java distributions, [OpenJDK 21](https://jdk.java.net/21/) and [OpenJ9](https://www.eclipse.org/openj9/), though you can experiment based on your needs. @@ -37,12 +37,12 @@ If you have less RAM: If you have OpenJDK installed or need a fresh installation of OpenJ9, you can pick up the OpenJ9 docker image, or install the OpenJ9 JDK using the following steps: -1. Get the [binaries](https://github.com/ibmruntimes/semeru17-binaries/releases) corresponding to +1. Get the [binaries](https://github.com/ibmruntimes/semeru21-certified-binaries/releases) corresponding to your OS architecture. For example: ```bash - wget https://github.com/ibmruntimes/semeru17-binaries/releases/download/jdk-17.0.5%2B8_openj9-0.35.0/ibm-semeru-open-jdk_x64_linux_17.0.5_8_openj9-0.35.0.tar.gz + wget https://github.com/ibmruntimes/semeru21-certified-binaries/releases/download/jdk-21.0.3%2B9_openj9-0.44.0/ibm-semeru-certified-jdk_x64_linux_21.0.3.0.tar.gz ``` 2. Uncompress the binaries: @@ -57,7 +57,7 @@ docker image, or install the OpenJ9 JDK using the following steps: ```bash - tar -xvf ibm-semeru-open-jdk_x64_linux_17.0.5_8_openj9-0.35.0.tar.gz + tar -xvf ibm-semeru-certified-jdk_x64_linux_21.0.3.0.tar.gz ``` @@ -76,7 +76,7 @@ docker image, or install the OpenJ9 JDK using the following steps: ```bash - sudo cp -r jdk-17.0.5+8/ /usr/bin/ + sudo cp -r jdk-21.0.3+9/ /usr/bin/ ``` @@ -96,7 +96,7 @@ docker image, or install the OpenJ9 JDK using the following steps: ```bash - sudo update-alternatives --install "/usr/bin/java" "java" "/usr/bin/jdk-17.0.5+8/bin/java" + sudo update-alternatives --install "/usr/bin/java" "java" "/usr/bin/jdk-21.0.3+9/bin/java" ``` @@ -116,7 +116,7 @@ docker image, or install the OpenJ9 JDK using the following steps: ```bash - export JAVA_HOME=/usr/bin/jdk-17.0.5+8 + export JAVA_HOME=/usr/bin/jdk-21.0.3+9 ``` diff --git a/versioned_docs/version-24.6.0/public-networks/tutorials/besu-teku-mainnet.md b/versioned_docs/version-24.6.0/public-networks/tutorials/besu-teku-mainnet.md index bc05cb5f48c..1b7866bdaca 100644 --- a/versioned_docs/version-24.6.0/public-networks/tutorials/besu-teku-mainnet.md +++ b/versioned_docs/version-24.6.0/public-networks/tutorials/besu-teku-mainnet.md @@ -17,7 +17,7 @@ Run Besu as an [execution client](../concepts/node-clients.md#execution-clients) Install [Besu](../get-started/install/binary-distribution.md) and [Teku](https://docs.teku.consensys.net/HowTo/Get-Started/Installation-Options/Install-Binaries/). -Ensure you meet the prerequisites for the installation option you use. For example, you must have Java 17+ if using the Besu and Teku binary distributions. +Ensure you meet the prerequisites for the installation option you use. For example, you must have Java 21+ if using the Besu and Teku binary distributions. Ensure you meet the [system requirements for Besu on public networks](../get-started/system-requirements.md). diff --git a/versioned_docs/version-24.6.0/public-networks/tutorials/besu-teku-testnet.md b/versioned_docs/version-24.6.0/public-networks/tutorials/besu-teku-testnet.md index eea6ea59884..962225a223d 100644 --- a/versioned_docs/version-24.6.0/public-networks/tutorials/besu-teku-testnet.md +++ b/versioned_docs/version-24.6.0/public-networks/tutorials/besu-teku-testnet.md @@ -23,7 +23,7 @@ Sepolia is a permissioned network and you can't run a validator client on it wit Install [Besu](../get-started/install/binary-distribution.md) and [Teku](https://docs.teku.consensys.net/HowTo/Get-Started/Installation-Options/Install-Binaries/). -Ensure you meet the prerequisites for the installation option you use. For example, you must have Java 17+ if using the Besu and Teku binary distributions. +Ensure you meet the prerequisites for the installation option you use. For example, you must have Java 21+ if using the Besu and Teku binary distributions. Ensure you meet the [system requirements for Besu on public networks](../get-started/system-requirements.md).