Skip to content

Commit 485207f

Browse files
committed
Update doc to recommend Adoptium OpenJDK21
1 parent 0f7f4ec commit 485207f

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

BUILD.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
## Requirements
44

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

88
## Build
99

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ rpcclienttimeout=30
9494

9595
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.
9696

97-
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.
97+
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).
9898

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

docs/release-notes/eclair-vnext.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ $ sha256sum -c SHA256SUMS.stripped
3838

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

41-
- Ubuntu 22.04
42-
- AdoptOpenJDK 11.0.22
41+
- Ubuntu 24.04.1
42+
- Adoptium OpenJDK 21.0.4
4343
- Maven 3.9.2
4444

4545
Use the following command to generate the eclair-node package:

eclair-front/src/main/resources/eclair-front.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ java_version_check() {
283283
if [[ "$java_version" == "" ]]; then
284284
echo
285285
echo No java installations was detected.
286-
echo Please go to 'https://adoptopenjdk.net/?variant=openjdk11&jvmVariant=hotspot' and download
286+
echo Please go to 'https://adoptium.net/temurin/releases/?package=jre&version=21' and download
287287
echo
288288
exit 1
289289
else
@@ -296,7 +296,7 @@ java_version_check() {
296296
echo The java installation you have is not up to date, eclair-front requires
297297
echo at least version 1.8+ \(version 11 recommended\) but you have version $java_version
298298
echo
299-
echo Please go to 'https://adoptopenjdk.net/?variant=openjdk11&jvmVariant=hotspot' and download
299+
echo Please go to 'https://adoptium.net/temurin/releases/?package=jre&version=21' and download
300300
echo a valid Java Runtime and install before running eclair-front.
301301
echo
302302
exit 1

eclair-node/src/main/resources/eclair-node.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ if "%JAVAOK%"=="false" (
8585
)
8686
echo.
8787
echo Please go to
88-
echo https://adoptopenjdk.net/?variant=openjdk11&jvmVariant=hotspot
88+
echo https://adoptium.net/temurin/releases/?package=jdk&version=21
8989
echo and download a valid Java JDK and install before running @@APP_NAME@@.
9090
echo.
9191
echo If you think this message is in error, please check

eclair-node/src/main/resources/eclair-node.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ java_version_check() {
283283
if [[ "$java_version" == "" ]]; then
284284
echo
285285
echo No java installations was detected.
286-
echo Please go to 'https://adoptopenjdk.net/?variant=openjdk11&jvmVariant=hotspot' and download
286+
echo Please go to 'https://adoptium.net/temurin/releases/?package=jdk&version=21' and download
287287
echo
288288
exit 1
289289
else
@@ -296,7 +296,7 @@ java_version_check() {
296296
echo The java installation you have is not up to date, eclair-node requires
297297
echo at least version 1.8+ \(version 11 recommended\) but you have version $java_version
298298
echo
299-
echo Please go to 'https://adoptopenjdk.net/?variant=openjdk11&jvmVariant=hotspot' and download
299+
echo Please go to 'https://adoptium.net/temurin/releases/?package=jdk&version=21' and download
300300
echo a valid Java Runtime and install before running eclair-node.
301301
echo
302302
exit 1

0 commit comments

Comments
 (0)