File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
docs/reference-manual/java-on-truffle Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ You can download a standalone based on Oracle GraalVM or GraalVM Community Editi
5252
53533. 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
100101To 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
105107Taking this `HelloWorld.java` example, compile it and run from the command line:
You can’t perform that action at this time.
0 commit comments