Skip to content

Commit c6005b3

Browse files
authored
docs(sample): clean up README for native image sample (#785)
1 parent 4eb1736 commit c6005b3

File tree

1 file changed

+8
-8
lines changed
  • java-secretmanager/samples/native-image-sample

1 file changed

+8
-8
lines changed

java-secretmanager/samples/native-image-sample/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,25 @@ You will need to follow these prerequisite steps in order to run these samples:
2121
2222
**Note:** Authenticating with Application Default Credentials is convenient to use during development, but we recommend [alternate methods of authentication](https://cloud.google.com/docs/authentication/production) during production use.
2323
24-
3. Install the GraalVM compiler.
24+
3. Install the native image compiler.
2525
26-
You can follow the [official installation instructions](https://www.graalvm.org/docs/getting-started/#install-graalvm) from the GraalVM website.
26+
You can follow the [official installation instructions](https://www.graalvm.org/docs/getting-started/#install-graalvm).
2727
After following the instructions, ensure that you install the Native Image extension installed by running:
2828
2929
```
3030
gu install native-image
3131
```
3232
33-
Once you finish following the instructions, verify that the default version of Java is set to the GraalVM version by running `java -version` in a terminal.
33+
Once you finish following the instructions, verify that the default version of Java is set to the correct version by running `java -version` in a terminal.
3434
3535
You will see something similar to the below output:
3636
3737
```
3838
$ java -version
3939
40-
openjdk version "11.0.7" 2020-04-14
41-
OpenJDK Runtime Environment GraalVM CE 20.1.0 (build 11.0.7+10-jvmci-20.1-b02)
42-
OpenJDK 64-Bit Server VM GraalVM CE 20.1.0 (build 11.0.7+10-jvmci-20.1-b02, mixed mode, sharing)
40+
openjdk version "17.0.3" 2022-04-19
41+
OpenJDK Runtime Environment GraalVM CE 22.1.0 (build 17.0.3+7-jvmci-22.1-b06)
42+
OpenJDK 64-Bit Server VM GraalVM CE 22.1.0 (build 17.0.3+7-jvmci-22.1-b06, mixed mode, sharing)
4343
```
4444
4545
4. [Enable the Secret Manager APIs](https://console.cloud.google.com/apis/api/secretmanager.googleapis.com).
@@ -48,7 +48,7 @@ You will need to follow these prerequisite steps in order to run these samples:
4848
4949
Navigate to this directory in a new terminal.
5050
51-
1. Compile the application using the Native Image Compiler. This step may take a few minutes.
51+
1. Compile the application using the native image compiler. This step may take a few minutes.
5252
5353
```
5454
mvn package -P native -DskipTests
@@ -75,4 +75,4 @@ In order to run the sample integration test as a native image, call the followin
7575
7676
```
7777
mvn test -Pnative
78-
```
78+
```

0 commit comments

Comments
 (0)