Skip to content

Commit 55b8e06

Browse files
LesiaChabanolyagpl
authored andcommitted
[GR-48864] Update Espresso getting started steps in JDK21 version.
PullRequest: graal/15673
2 parents 3fe9eba + 872a7ac commit 55b8e06

File tree

1 file changed

+4
-2
lines changed
  • docs/reference-manual/java-on-truffle

1 file changed

+4
-2
lines changed

docs/reference-manual/java-on-truffle/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ You can download a standalone based on Oracle GraalVM or GraalVM Community Editi
5252

5353
3. A standalone comes with a JVM in addition to its native launcher. Check the version to see the Java on Truffle runtime is active:
5454
```shell
55-
./path/to/bin/java -truffle --version
55+
# Path to Java on Truffle (Espresso) installation
56+
./path/to/bin/java -truffle -version
5657
```
5758

5859
## Run Java on Truffle
@@ -99,7 +100,8 @@ This might be important for options such as `MaxDirectMemorySize` which can be s
99100
100101
To ensure you have successfully installed Java on Truffle, verify its version:
101102
```shell
102-
java -truffle -version
103+
# Path to Java on Truffle (Espresso) installation
104+
./path/to/bin/java -truffle -version
103105
```
104106
105107
Taking this `HelloWorld.java` example, compile it and run from the command line:

0 commit comments

Comments
 (0)