From 7d03a201c086d14a08b25d2dc8c02bbf28d788e1 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Tue, 18 Oct 2022 11:48:12 -0700 Subject: [PATCH] Switch Java version displayed in documentation Closes gh-32746 --- .../asciidoc/getting-started/first-application.adoc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/getting-started/first-application.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/getting-started/first-application.adoc index 3aadd4d53d..25464b3b33 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/getting-started/first-application.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/getting-started/first-application.adoc @@ -18,17 +18,17 @@ Before we begin, open a terminal and run the following commands to ensure that y [source,shell,indent=0,subs="verbatim"] ---- $ java -version - java version "1.8.0_102" - Java(TM) SE Runtime Environment (build 1.8.0_102-b14) - Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode) + openjdk version "17.0.4.1" 2022-08-12 LTS + OpenJDK Runtime Environment (build 17.0.4.1+1-LTS) + OpenJDK 64-Bit Server VM (build 17.0.4.1+1-LTS, mixed mode, sharing) ---- [source,shell,indent=0,subs="verbatim"] ---- $ mvn -v - Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T14:33:14-04:00) - Maven home: /usr/local/Cellar/maven/3.3.9/libexec - Java version: 1.8.0_102, vendor: Oracle Corporation + Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0) + Maven home: usr/Users/developer/tools/maven/3.8.5 + Java version: 17.0.4.1, vendor: BellSoft, runtime: /Users/developer/sdkman/candidates/java/17.0.4.1-librca ---- NOTE: This sample needs to be created in its own directory.