Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit de7b45a

Browse files
authoredJun 15, 2022
docs(sample): clean up native image sample README (#2120)
1 parent 7b204ee commit de7b45a

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed
 

‎samples/native-image-sample/README.md

+7-8
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
The BigQuery sample application demonstrates some common operations with [Google Cloud BigQuery](https://cloud.google.com/bigquery) and is compatible with Native Image compilation.
44

5-
## Setup Instructions
65

76
## Setup Instructions
87

@@ -22,23 +21,23 @@ You will need to follow these prerequisite steps in order to run the samples:
2221
2322
3. Install the native image compiler.
2423
25-
You can follow [the installation instructions](https://www.graalvm.org/docs/getting-started/#install-graalvm) from the GraalVM website.
24+
You can follow [the installation instructions](https://www.graalvm.org/docs/getting-started/#install-graalvm).
2625
After following the instructions, ensure that you install the native image extension installed by running:
2726
2827
```
2928
gu install native-image
3029
```
3130
32-
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.
31+
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.
3332
3433
You will see something similar to the below output:
3534
3635
```
3736
$ java -version
3837
39-
openjdk version "11.0.7" 2020-04-14
40-
OpenJDK Runtime Environment GraalVM CE 20.1.0 (build 11.0.7+10-jvmci-20.1-b02)
41-
OpenJDK 64-Bit Server VM GraalVM CE 20.1.0 (build 11.0.7+10-jvmci-20.1-b02, mixed mode, sharing)
38+
openjdk version "17.0.3" 2022-04-19
39+
OpenJDK Runtime Environment GraalVM CE 22.1.0 (build 17.0.3+7-jvmci-22.1-b06)
40+
OpenJDK 64-Bit Server VM GraalVM CE 22.1.0 (build 17.0.3+7-jvmci-22.1-b06, mixed mode, sharing)
4241
```
4342
4443
2. [Enable the BigQuery APIs](https://console.cloud.google.com/apis/api/bigquery.googleapis.com).
@@ -47,7 +46,7 @@ You will need to follow these prerequisite steps in order to run the samples:
4746
4847
Navigate to this directory in a new terminal.
4948
50-
1. Compile the application using the Native Image Compiler. This step may take a few minutes.
49+
1. Compile the application using the native image Compiler. This step may take a few minutes.
5150
5251
```
5352
mvn package -P native -DskipTests
@@ -79,4 +78,4 @@ In order to run the sample integration test, call the following command:
7978

8079
```
8180
mvn test -Pnative
82-
```
81+
```

0 commit comments

Comments
 (0)
Failed to load comments.