Skip to content

Commit

Permalink
Docs: Fix typo in native image reference manual
Browse files Browse the repository at this point in the history
Closes: oracle#5315
  • Loading branch information
zakkak committed Oct 28, 2022
1 parent 0faad68 commit 1b73d2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/reference-manual/java-on-truffle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ java -truffle [options] class
```
To execute a JAR file:
```shell
java -truffle [options] --jar jarfile
java -truffle [options] -jar jarfile
```

Using Java 11 based GraalVM distribution, you can also run a Java application from the main class in a module, or run a single source-file program:
Expand Down Expand Up @@ -125,7 +125,7 @@ cd spring-petclinic

3. Then run it from the command line by selecting the `-truffle` runtime:
```java
java -truffle -jar target/spring-petclinic-<version>-SNAPSHOT.jar
java -truffle --jar target/spring-petclinic-<version>-SNAPSHOT.jar
```

4. When the application starts, access it on [localhost:8000](http://localhost:8080/).
Expand Down
2 changes: 1 addition & 1 deletion docs/reference-manual/native-image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ native-image [options] -jar jarfile [imagename]
4. Create a native executable:
```
native-image --jar App.jar
native-image -jar App.jar
```
It will produce a native executable in the project root directory.
5. Run the native executable:
Expand Down

0 comments on commit 1b73d2a

Please sign in to comment.