Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation error #5315

Closed
ghost opened this issue Oct 28, 2022 · 0 comments · Fixed by #5316
Closed

Documentation error #5315

ghost opened this issue Oct 28, 2022 · 0 comments · Fixed by #5316
Assignees

Comments

@ghost
Copy link

ghost commented Oct 28, 2022

The page at https://www.graalvm.org/22.3/reference-manual/native-image/ shows:

native-image --jar App.jar

As per the instructions, I ran:

$ ./graalvm/bin/native-image --jar keenwrite.jar 

Expected results
JAR file built into executable.

Actual results

Error: Unrecognized option: --jar

Additional details

The documentation does not appear to be up-to-date with respect to the command-line options.

$ ./graalvm/bin/native-image --version
GraalVM 22.3.0 Java 17 CE (Java Version 17.0.5+8-jvmci-22.3-b08)
zakkak added a commit to zakkak/mandrel that referenced this issue Oct 28, 2022
@zakkak zakkak self-assigned this Oct 28, 2022
zakkak added a commit to zakkak/mandrel that referenced this issue Oct 28, 2022
graalvmbot pushed a commit that referenced this issue Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant