Skip to content

Commit 1512487

Browse files
authored
docs(sample): update README for native image sample (#974)
1 parent 58b7a02 commit 1512487

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

samples/native-image-sample/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,25 @@ You will need to follow these prerequisite steps in order to run the samples:
1818
1919
**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.
2020
21-
3. Install the GraalVM compiler.
21+
3. Install the native image compiler.
2222
23-
You can follow the [official installation instructions](https://www.graalvm.org/docs/getting-started/#install-graalvm) from the GraalVM website.
23+
You can follow the [official installation instructions](https://www.graalvm.org/docs/getting-started/#install-graalvm).
2424
After following the instructions, ensure that you install the native image extension installed by running:
2525
2626
```
2727
gu install native-image
2828
```
2929
30-
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.
30+
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.
3131
3232
You will see something similar to the below output:
3333
3434
```
3535
$ java -version
3636
37-
openjdk version "11.0.7" 2020-04-14
38-
OpenJDK Runtime Environment GraalVM CE 20.1.0 (build 11.0.7+10-jvmci-20.1-b02)
39-
OpenJDK 64-Bit Server VM GraalVM CE 20.1.0 (build 11.0.7+10-jvmci-20.1-b02, mixed mode, sharing)
37+
openjdk version "17.0.3" 2022-04-19
38+
OpenJDK Runtime Environment GraalVM CE 22.1.0 (build 17.0.3+7-jvmci-22.1-b06)
39+
OpenJDK 64-Bit Server VM GraalVM CE 22.1.0 (build 17.0.3+7-jvmci-22.1-b06, mixed mode, sharing)
4040
```
4141
4242
4. Enable the [Logging APIs](https://console.cloud.google.com/flows/enableapi?apiid=logging.googleapis.com).
@@ -45,7 +45,7 @@ You will need to follow these prerequisite steps in order to run the samples:
4545
4646
Navigate to this directory in a new terminal.
4747
48-
1. Compile the application using the Native Image Compiler. This step may take a few minutes.
48+
1. Compile the application using the native image Compiler. This step may take a few minutes.
4949
5050
```
5151
mvn package -P native -DskipTests
@@ -68,4 +68,4 @@ In order to run the sample integration test as a native image, call the followin
6868
6969
```
7070
mvn test -Pnative
71-
```
71+
```

0 commit comments

Comments
 (0)