Skip to content
This repository was archived by the owner on Oct 2, 2023. It is now read-only.

Commit b60afab

Browse files
authored
docs(sample): clean up README for native image sample (#808)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/java-trace/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes #<issue_number_goes_here> ☕️ If you write sample code, please follow the [samples format]( https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md).
1 parent e70ee32 commit b60afab

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

samples/native-image-sample/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,25 @@ You will need to follow these prerequisite steps in order to run these samples:
2020
2121
**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.
2222
23-
3. Install the GraalVM compiler.
23+
3. Install the native image compiler.
2424
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 [official installation instructions](https://www.graalvm.org/docs/getting-started/#install-graalvm).
2626
After following the instructions, ensure that you install the Native Image extension installed by running:
2727
2828
```
2929
gu install native-image
3030
```
3131
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.
3333
3434
You will see something similar to the below output:
3535
3636
```
3737
$ java -version
3838
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)
4242
```
4343
4444
4. Enable the [Cloud Trace APIs](https://console.cloud.google.com/apis/api/cloudtrace.googleapis.com/overview).

0 commit comments

Comments
 (0)