Skip to content

Commit

Permalink
Update doc to recommend Adoptium OpenJDK21
Browse files Browse the repository at this point in the history
  • Loading branch information
sstone committed Dec 10, 2024
1 parent 0f7f4ec commit 485207f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

## Requirements

- [OpenJDK 11](https://adoptopenjdk.net/?variant=openjdk11&jvmVariant=hotspot).
- [Maven](https://maven.apache.org/download.cgi) 3.6.0 or newer
- [OpenJDK 21](https://adoptium.net/temurin/releases/?package=jdk&version=21).
- [Maven](https://maven.apache.org/download.cgi) 3.9.2 or newer

## Build

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ rpcclienttimeout=30

Eclair is developed in [Scala](https://www.scala-lang.org/), a powerful functional language that runs on the JVM, and is packaged as a ZIP archive.

To run Eclair, you first need to install Java, we recommend that you use [OpenJDK 11](https://adoptopenjdk.net/?variant=openjdk11&jvmVariant=hotspot). Other runtimes also work, but we don't recommend using them.
To run Eclair, you first need to install Java. Eclair targets Java 11 and will run on any compatible Java runtime (including 11, 17 and 21), we recommend that you use [OpenJDK 21](https://adoptium.net/temurin/releases/?package=jdk&version=21).

Then download our latest [release](https://github.com/ACINQ/eclair/releases), unzip the archive and run the following command:

Expand Down
4 changes: 2 additions & 2 deletions docs/release-notes/eclair-vnext.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ $ sha256sum -c SHA256SUMS.stripped

Eclair builds are deterministic. To reproduce our builds, please use the following environment (*):

- Ubuntu 22.04
- AdoptOpenJDK 11.0.22
- Ubuntu 24.04.1
- Adoptium OpenJDK 21.0.4
- Maven 3.9.2

Use the following command to generate the eclair-node package:
Expand Down
4 changes: 2 additions & 2 deletions eclair-front/src/main/resources/eclair-front.sh
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ java_version_check() {
if [[ "$java_version" == "" ]]; then
echo
echo No java installations was detected.
echo Please go to 'https://adoptopenjdk.net/?variant=openjdk11&jvmVariant=hotspot' and download
echo Please go to 'https://adoptium.net/temurin/releases/?package=jre&version=21' and download
echo
exit 1
else
Expand All @@ -296,7 +296,7 @@ java_version_check() {
echo The java installation you have is not up to date, eclair-front requires
echo at least version 1.8+ \(version 11 recommended\) but you have version $java_version
echo
echo Please go to 'https://adoptopenjdk.net/?variant=openjdk11&jvmVariant=hotspot' and download
echo Please go to 'https://adoptium.net/temurin/releases/?package=jre&version=21' and download
echo a valid Java Runtime and install before running eclair-front.
echo
exit 1
Expand Down
2 changes: 1 addition & 1 deletion eclair-node/src/main/resources/eclair-node.bat
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ if "%JAVAOK%"=="false" (
)
echo.
echo Please go to
echo https://adoptopenjdk.net/?variant=openjdk11&jvmVariant=hotspot
echo https://adoptium.net/temurin/releases/?package=jdk&version=21
echo and download a valid Java JDK and install before running @@APP_NAME@@.
echo.
echo If you think this message is in error, please check
Expand Down
4 changes: 2 additions & 2 deletions eclair-node/src/main/resources/eclair-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ java_version_check() {
if [[ "$java_version" == "" ]]; then
echo
echo No java installations was detected.
echo Please go to 'https://adoptopenjdk.net/?variant=openjdk11&jvmVariant=hotspot' and download
echo Please go to 'https://adoptium.net/temurin/releases/?package=jdk&version=21' and download
echo
exit 1
else
Expand All @@ -296,7 +296,7 @@ java_version_check() {
echo The java installation you have is not up to date, eclair-node requires
echo at least version 1.8+ \(version 11 recommended\) but you have version $java_version
echo
echo Please go to 'https://adoptopenjdk.net/?variant=openjdk11&jvmVariant=hotspot' and download
echo Please go to 'https://adoptium.net/temurin/releases/?package=jdk&version=21' and download
echo a valid Java Runtime and install before running eclair-node.
echo
exit 1
Expand Down

0 comments on commit 485207f

Please sign in to comment.