Skip to content

Commit

Permalink
recommend java 21 instead of 17 (#1559)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaimaaeROUAI authored Nov 20, 2024
1 parent 6ee347c commit 1256fb7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/docs/common/snippets/common-install-graalvm-sdkman.adoc
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
The easiest way to install https://www.graalvm.org[GraalVM] on Linux or Mac is to use https://sdkman.io/[SDKMan.io].

[source, bash]
.Java 17
.Java 21
----
sdk install java 17.0.12-graal
sdk install java 21.0.5-graal
----

[source, bash]
.Java 17
.Java 21
----
sdk use java 17.0.12-graal
sdk use java 21.0.5-graal
----

For installation on Windows, or for manual installation on Linux or Mac, see the https://www.graalvm.org/latest/docs/getting-started/[GraalVM Getting Started] documentation.
Expand All @@ -20,15 +20,15 @@ The previous command installs Oracle GraalVM, which is free to use in production
Alternatively, you can use the https://github.com/graalvm/graalvm-ce-builds/releases/[GraalVM Community Edition]:

[source, bash]
.Java 17
.Java 21
----
sdk install java 17.0.9-graalce
sdk install java 21.0.2-graalce
----

[source, bash]
.Java 17
.Java 21
----
sdk use java 17.0.9-graalce
sdk use java 21.0.2-graalce
----


0 comments on commit 1256fb7

Please sign in to comment.