You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: samples/native-image-sample/README.md
+7-8
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,6 @@
2
2
3
3
The BigQuery sample application demonstrates some common operations with [Google Cloud BigQuery](https://cloud.google.com/bigquery) and is compatible with Native Image compilation.
4
4
5
-
## Setup Instructions
6
5
7
6
## Setup Instructions
8
7
@@ -22,23 +21,23 @@ You will need to follow these prerequisite steps in order to run the samples:
22
21
23
22
3. Install the native image compiler.
24
23
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).
26
25
After following the instructions, ensure that you install the native image extension installed by running:
27
26
28
27
```
29
28
gu install native-image
30
29
```
31
30
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.
33
32
34
33
You will see something similar to the below output:
35
34
36
35
```
37
36
$ java -version
38
37
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)
42
41
```
43
42
44
43
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:
47
46
48
47
Navigate to this directory in a new terminal.
49
48
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.
51
50
52
51
```
53
52
mvn package -P native -DskipTests
@@ -79,4 +78,4 @@ In order to run the sample integration test, call the following command:
0 commit comments