Skip to content

Commit

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

Signed-off-by: bgravenorst <byron.gravenorst@consensys.net>

* Fix broken Teku links.

Signed-off-by: bgravenorst <byron.gravenorst@consensys.net>

---------

Signed-off-by: bgravenorst <byron.gravenorst@consensys.net>
  • Loading branch information
bgravenorst committed Feb 15, 2023
1 parent 12150d2 commit 7267554
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 28 deletions.
Expand Up @@ -16,8 +16,7 @@ description: Install or upgrade Hyperledger Besu from binary distribution
Hyperledger Besu supports:

* MacOS High Sierra 10.13 or later versions.
* Java 11+.
We recommend using at least Java 17 because that will be the minimum requirement in the next Besu version series.
* 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).

Expand Down
Expand Up @@ -16,8 +16,7 @@ description: Install or upgrade Hyperledger Besu from binary distribution
Hyperledger Besu supports:

* MacOS High Sierra 10.13 or later versions.
* Java 11+.
We recommend using at least Java 17 because that will be the minimum requirement in the next Besu version series.
* 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).

Expand Down
30 changes: 15 additions & 15 deletions docs/public-networks/tutorials/besu-teku-mainnet.md
Expand Up @@ -5,16 +5,16 @@ Description: How to run Besu and Teku on Mainnet
# Run Besu and Teku on Mainnet

Run Besu as an [execution client](../concepts/the-merge.md#execution-clients) and
[Teku](https://docs.teku.consensys.net/en/stable/)
[Teku](https://docs.teku.consensys.net/)
as a [consensus client](../concepts/the-merge.md#consensus-clients) on Ethereum Mainnet.

## 1. Install Besu and Teku

Install [Besu](../get-started/install/binary-distribution.md) and
[Teku](https://docs.teku.consensys.net/en/stable/HowTo/Get-Started/Installation-Options/Install-Binaries/).
[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 11+ if using the Besu and Teku binary distributions.
For example, you must have Java 17+ 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 Expand Up @@ -106,16 +106,16 @@ teku \
```

Specify the path to the `jwtsecret.hex` file generated in [step 2](#2-generate-the-shared-secret) using
the [`--ee-jwt-secret-file`](https://docs.teku.consensys.net/en/stable/Reference/CLI/CLI-Syntax/#ee-jwt-secret-file)
the [`--ee-jwt-secret-file`](https://docs.teku.consensys.net/Reference/CLI/CLI-Syntax/#ee-jwt-secret-file)
option.

Also, in the command:

- [`--ee-endpoint`](https://docs.teku.consensys.net/en/latest/Reference/CLI/CLI-Syntax/#ee-endpoint)
- [`--ee-endpoint`](https://docs.teku.consensys.net/Reference/CLI/CLI-Syntax/#ee-endpoint)
is set to the default URL of Besu's Engine API.
- [`--metrics-enabled`](https://docs.teku.consensys.net/en/latest/Reference/CLI/CLI-Syntax/#metrics-enabled)
- [`--metrics-enabled`](https://docs.teku.consensys.net/Reference/CLI/CLI-Syntax/#metrics-enabled)
enables Teku's metrics exporter.
- [`--rest-api-enabled`](https://docs.teku.consensys.net/en/latest/Reference/CLI/CLI-Syntax/#rest-api-enabled)
- [`--rest-api-enabled`](https://docs.teku.consensys.net/Reference/CLI/CLI-Syntax/#rest-api-enabled)
enables Teku's REST API service.

You can modify the option values and add other [Teku command line options] as needed.
Expand All @@ -138,22 +138,22 @@ teku \
Specify:

- The path to the `jwtsecret.hex` file generated in [step 2](#2-generate-the-shared-secret) using the
[`--ee-jwt-secret-file`](https://docs.teku.consensys.net/en/stable/Reference/CLI/CLI-Syntax/#ee-jwt-secret-file) option.
[`--ee-jwt-secret-file`](https://docs.teku.consensys.net/Reference/CLI/CLI-Syntax/#ee-jwt-secret-file) option.
- An Ethereum address you own as the default fee recipient using the
[`--validators-proposer-default-fee-recipient`](https://docs.teku.consensys.net/en/stable/Reference/CLI/CLI-Syntax/#validators-proposer-default-fee-recipient)
[`--validators-proposer-default-fee-recipient`](https://docs.teku.consensys.net/Reference/CLI/CLI-Syntax/#validators-proposer-default-fee-recipient)
option.
- The paths to the keystore `.json` file and password `.txt` file created in
[step 3](#3-generate-validator-keys) for each validator using the
[`--validator-keys`](https://docs.teku.consensys.net/en/stable/Reference/CLI/CLI-Syntax/#validator-keys) option.
[`--validator-keys`](https://docs.teku.consensys.net/Reference/CLI/CLI-Syntax/#validator-keys) option.
Separate the `.json` and `.txt` files with a colon, and separate entries for multiple validators with commas.

Also, in the command:

- [`--ee-endpoint`](https://docs.teku.consensys.net/en/latest/Reference/CLI/CLI-Syntax/#ee-endpoint)
- [`--ee-endpoint`](https://docs.teku.consensys.net/Reference/CLI/CLI-Syntax/#ee-endpoint)
is set to the default URL of Besu's Engine API.
- [`--metrics-enabled`](https://docs.teku.consensys.net/en/latest/Reference/CLI/CLI-Syntax/#metrics-enabled)
- [`--metrics-enabled`](https://docs.teku.consensys.net/Reference/CLI/CLI-Syntax/#metrics-enabled)
enables Teku's metrics exporter.
- [`--rest-api-enabled`](https://docs.teku.consensys.net/en/latest/Reference/CLI/CLI-Syntax/#rest-api-enabled)
- [`--rest-api-enabled`](https://docs.teku.consensys.net/Reference/CLI/CLI-Syntax/#rest-api-enabled)
enables Teku's REST API service.

You can modify the option values and add other [Teku command line options] as needed.
Expand Down Expand Up @@ -206,5 +206,5 @@ It may take up to multiple days for your validator to be activated and start pro

<!--links-->

[Teku configuration file]: https://docs.teku.consensys.net/en/latest/HowTo/Configure/Use-Configuration-File/
[Teku command line options]: https://docs.teku.consensys.net/en/latest/Reference/CLI/CLI-Syntax/
[Teku configuration file]: https://docs.teku.consensys.net/HowTo/Configure/Use-Configuration-File/
[Teku command line options]: https://docs.teku.consensys.net/Reference/CLI/CLI-Syntax/
18 changes: 9 additions & 9 deletions docs/public-networks/tutorials/besu-teku-testnet.md
Expand Up @@ -5,7 +5,7 @@ Description: How to run Besu and Teku on a testnet
# Run Besu and Teku on a testnet

Run Besu as an [execution client](../concepts/the-merge.md#execution-clients) and
[Teku](https://docs.teku.consensys.net/en/stable/)
[Teku](https://docs.teku.consensys.net/)
as a [consensus client](../concepts/the-merge.md#consensus-clients) on the
[Goerli](https://github.com/eth-clients/goerli) and [Sepolia](https://github.com/eth-clients/sepolia)
Ethereum testnets.
Expand All @@ -19,10 +19,10 @@ Ethereum testnets.
## 1. Install Besu and Teku

Install [Besu](../get-started/install/binary-distribution.md) and
[Teku](https://docs.teku.consensys.net/en/stable/HowTo/Get-Started/Installation-Options/Install-Binaries/).
[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 11+ if using the Besu and Teku binary distributions.
For example, you must have Java 17+ 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 Expand Up @@ -136,7 +136,7 @@ options in the [Teku configuration file]:
```

Specify the path to the `jwtsecret.hex` file generated in [step 2](#2-generate-the-shared-secret) using
the [`--ee-jwt-secret-file`](https://docs.teku.consensys.net/en/stable/Reference/CLI/CLI-Syntax/#ee-jwt-secret-file)
the [`--ee-jwt-secret-file`](https://docs.teku.consensys.net/Reference/CLI/CLI-Syntax/#ee-jwt-secret-file)
option.

You can modify the option values and add other [Teku command line options] as needed.
Expand Down Expand Up @@ -167,14 +167,14 @@ the options in the [Teku configuration file]:
Specify:

- The path to the `jwtsecret.hex` file generated in [step 2](#2-generate-the-shared-secret) using the
[`--ee-jwt-secret-file`](https://docs.teku.consensys.net/en/stable/Reference/CLI/CLI-Syntax/#ee-jwt-secret-file) option.
[`--ee-jwt-secret-file`](https://docs.teku.consensys.net/Reference/CLI/CLI-Syntax/#ee-jwt-secret-file) option.
- The test Ethereum address created in [step 3](#3-generate-validator-keys) as the default fee
recipient using the
[`--validators-proposer-default-fee-recipient`](https://docs.teku.consensys.net/en/stable/Reference/CLI/CLI-Syntax/#validators-proposer-default-fee-recipient)
[`--validators-proposer-default-fee-recipient`](https://docs.teku.consensys.net/Reference/CLI/CLI-Syntax/#validators-proposer-default-fee-recipient)
option.
- The paths to the keystore `.json` file and password `.txt` file created in
[step 3](#3-generate-validator-keys) for each validator using the
[`--validator-keys`](https://docs.teku.consensys.net/en/stable/Reference/CLI/CLI-Syntax/#validator-keys) option.
[`--validator-keys`](https://docs.teku.consensys.net/Reference/CLI/CLI-Syntax/#validator-keys) option.
Separate the `.json` and `.txt` files with a colon, and separate entries for multiple validators with commas.

You can modify the option values and add other [Teku command line options] as needed.
Expand Down Expand Up @@ -228,5 +228,5 @@ It may take up to multiple days for your validator to be activated and start pro

<!--links-->

[Teku configuration file]: https://docs.teku.consensys.net/en/latest/HowTo/Configure/Use-Configuration-File/
[Teku command line options]: https://docs.teku.consensys.net/en/latest/Reference/CLI/CLI-Syntax/
[Teku configuration file]: https://docs.teku.consensys.net/HowTo/Configure/Use-Configuration-File/
[Teku command line options]: https://docs.teku.consensys.net/Reference/CLI/CLI-Syntax/

0 comments on commit 7267554

Please sign in to comment.