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
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,25 +20,25 @@ You will need to follow these prerequisite steps in order to run the samples:
20
20
21
21
**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.
22
22
23
-
3. Install the GraalVM compiler.
23
+
3. Install the native image compiler.
24
24
25
-
You can follow the [official installation instructions](https://www.graalvm.org/docs/getting-started/#install-graalvm) from the GraalVM website.
25
+
You can follow the [installation instructions](https://www.graalvm.org/docs/getting-started/#install-graalvm).
26
26
After following the instructions, ensure that you install the native image extension installed by running:
27
27
28
28
```
29
29
gu install native-image
30
30
```
31
31
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.
32
+
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
33
34
34
You will see something similar to the below output:
35
35
36
36
```
37
37
$ java -version
38
38
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)
39
+
openjdk version "17.0.3" 2022-04-19
40
+
OpenJDK Runtime Environment GraalVM CE 22.1.0 (build 17.0.3+7-jvmci-22.1-b06)
41
+
OpenJDK 64-Bit Server VM GraalVM CE 22.1.0 (build 17.0.3+7-jvmci-22.1-b06, mixed mode, sharing)
42
42
```
43
43
## Sample
44
44
1. **(Optional)** If you wish to run the application against the [Datastore emulator](https://cloud.google.com/sdk/gcloud/reference/beta/emulators/datastore), ensure that you have the [Google Cloud SDK](https://cloud.google.com/sdk) installed.
0 commit comments