Skip to content

Commit

Permalink
Update minimum Java version. (#1633)
Browse files Browse the repository at this point in the history
* Update minimum Java version.

Signed-off-by: bgravenorst <[email protected]>

* Missed a few instances.

Signed-off-by: bgravenorst <[email protected]>

---------

Signed-off-by: bgravenorst <[email protected]>
  • Loading branch information
bgravenorst authored Jun 25, 2024
1 parent 097fa05 commit 8df5608
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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).

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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).

:::

Expand Down Expand Up @@ -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

Expand Down
14 changes: 7 additions & 7 deletions docs/public-networks/get-started/system-requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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:

Expand All @@ -57,7 +57,7 @@ docker image, or install the OpenJ9 JDK using the following steps:
<TabItem value="Example" label="Example">

```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
```

</TabItem>
Expand All @@ -76,7 +76,7 @@ docker image, or install the OpenJ9 JDK using the following steps:
<TabItem value="Example" label="Example">

```bash
sudo cp -r jdk-17.0.5+8/ /usr/bin/
sudo cp -r jdk-21.0.3+9/ /usr/bin/
```

</TabItem>
Expand All @@ -96,7 +96,7 @@ docker image, or install the OpenJ9 JDK using the following steps:
<TabItem value="Example" label="Example">

```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"
```

</TabItem>
Expand All @@ -116,7 +116,7 @@ docker image, or install the OpenJ9 JDK using the following steps:
<TabItem value="Example" label="Example">

```bash
export JAVA_HOME=/usr/bin/jdk-17.0.5+8
export JAVA_HOME=/usr/bin/jdk-21.0.3+9
```

</TabItem>
Expand Down
2 changes: 1 addition & 1 deletion docs/public-networks/tutorials/besu-teku-mainnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down
2 changes: 1 addition & 1 deletion docs/public-networks/tutorials/besu-teku-testnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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).

:::

Expand Down Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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).

:::

Expand Down Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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:

Expand All @@ -57,7 +57,7 @@ docker image, or install the OpenJ9 JDK using the following steps:
<TabItem value="Example" label="Example">

```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
```

</TabItem>
Expand All @@ -76,7 +76,7 @@ docker image, or install the OpenJ9 JDK using the following steps:
<TabItem value="Example" label="Example">

```bash
sudo cp -r jdk-17.0.5+8/ /usr/bin/
sudo cp -r jdk-21.0.3+9/ /usr/bin/
```

</TabItem>
Expand All @@ -96,7 +96,7 @@ docker image, or install the OpenJ9 JDK using the following steps:
<TabItem value="Example" label="Example">

```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"
```

</TabItem>
Expand All @@ -116,7 +116,7 @@ docker image, or install the OpenJ9 JDK using the following steps:
<TabItem value="Example" label="Example">

```bash
export JAVA_HOME=/usr/bin/jdk-17.0.5+8
export JAVA_HOME=/usr/bin/jdk-21.0.3+9
```

</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down

0 comments on commit 8df5608

Please sign in to comment.