Skip to content

Commit 7d03a20

Browse files
committed
Switch Java version displayed in documentation
Closes gh-32746
1 parent 45ce096 commit 7d03a20

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/getting-started/first-application.adoc

+6-6
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ Before we begin, open a terminal and run the following commands to ensure that y
1818
[source,shell,indent=0,subs="verbatim"]
1919
----
2020
$ java -version
21-
java version "1.8.0_102"
22-
Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
23-
Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)
21+
openjdk version "17.0.4.1" 2022-08-12 LTS
22+
OpenJDK Runtime Environment (build 17.0.4.1+1-LTS)
23+
OpenJDK 64-Bit Server VM (build 17.0.4.1+1-LTS, mixed mode, sharing)
2424
----
2525

2626
[source,shell,indent=0,subs="verbatim"]
2727
----
2828
$ mvn -v
29-
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T14:33:14-04:00)
30-
Maven home: /usr/local/Cellar/maven/3.3.9/libexec
31-
Java version: 1.8.0_102, vendor: Oracle Corporation
29+
Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0)
30+
Maven home: usr/Users/developer/tools/maven/3.8.5
31+
Java version: 17.0.4.1, vendor: BellSoft, runtime: /Users/developer/sdkman/candidates/java/17.0.4.1-librca
3232
----
3333

3434
NOTE: This sample needs to be created in its own directory.

0 commit comments

Comments
 (0)