Skip to content

Commit 1635f61

Browse files
committed
Update GraalVM requirement to 22.3
See gh-32813
1 parent 73a34b6 commit 1635f61

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/attributes.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,6 @@
110110
:micrometer-concepts-docs: {micrometer-docs}/concepts
111111
:micrometer-registry-docs: {micrometer-docs}/registry
112112
:tomcat-docs: https://tomcat.apache.org/tomcat-9.0-doc
113-
:graal-version: 22.2
113+
:graal-version: 22.3
114114
:graal-native-image-docs: https://www.graalvm.org/{graal-version}/reference-manual/native-image
115-
:liberica-nik-download: https://bell-sw.com/pages/downloads/native-image-kit/
115+
:liberica-nik-download: https://bell-sw.com/pages/downloads/native-image-kit/#/nik-22-17-ea

spring-boot-project/spring-boot-docs/src/docs/asciidoc/native-image/developing-your-first-application.adoc

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ You can use them to perform a variety of GraalVM tasks, including generating a n
150150
To build a native image using the Native Build Tools, you'll need a GraalVM distribution on your machine.
151151
You can either download it manually on the {liberica-nik-download}[Liberica Native Image Kit page], or you can use a download manager like SDKMAN!.
152152

153-
153+
NOTE: If you download it manually, make sure to download the NIK 22-EA version, which is based on GraalVM 22.3.
154154

155155
[[native-image.developing-your-first-application.native-build-tools.prerequisites.linux-macos]]
156156
===== Linux and MacOS
@@ -160,25 +160,26 @@ Get SDKMAN! from https://sdkman.io and install the Liberica GraalVM distribution
160160

161161
[source,shell,indent=0,subs="verbatim,attributes"]
162162
----
163-
$ sdk install java 22.2.r17-nik
164-
$ sdk use java 22.2.r17-nik
163+
$ sdk install java {graal-version}.r17-nik
164+
$ sdk use java {graal-version}.r17-nik
165165
----
166166

167167
Verify that the correct version has been configured by checking the output of `java -version`:
168168

169169
[source,shell,indent=0,subs="verbatim,attributes"]
170170
----
171171
$ java -version
172-
openjdk version "17.0.4" 2022-07-19 LTS
173-
OpenJDK Runtime Environment GraalVM 22.2.0 (build 17.0.4+8-LTS)
174-
OpenJDK 64-Bit Server VM GraalVM 22.2.0 (build 17.0.4+8-LTS, mixed mode)
172+
openjdk version "17.0.5" 2022-10-18 LTS
173+
OpenJDK Runtime Environment GraalVM 22.3.0 (build 17.0.5+8-LTS)
174+
OpenJDK 64-Bit Server VM GraalVM 22.3.0 (build 17.0.5+8-LTS, mixed mode)
175175
----
176176

177177

178178

179179
[[native-image.developing-your-first-application.native-build-tools.prerequisites.windows]]
180180
===== Windows
181-
On Windows, follow https://medium.com/graalvm/using-graalvm-and-native-image-on-windows-10-9954dc071311[these instructions] to install either https://www.graalvm.org/downloads/[GraalVM] or https://bell-sw.com/pages/downloads/native-image-kit/[Liberica Native Image Kit], Visual Studio Build Tools and Windows SDK.
181+
182+
On Windows, follow https://medium.com/graalvm/using-graalvm-and-native-image-on-windows-10-9954dc071311[these instructions] to install either https://www.graalvm.org/downloads/[GraalVM] or {liberica-nik-download}[Liberica Native Image Kit] in version {graal-version}, the Visual Studio Build Tools and the Windows SDK.
182183
Due to the https://docs.microsoft.com/en-US/troubleshoot/windows-client/shell-experience/command-line-string-limitation[Windows related command-line maximum length], make sure to use x64 Native Tools Command Prompt instead of the regular Windows command line to run Maven or Gradle plugins.
183184

184185

0 commit comments

Comments
 (0)