Skip to content

Fix standalone module launch example - #24

Merged
DanielThomas merged 1 commit into
mainfrom
fix/modular-jar-example
Sep 22, 2026
Merged

DanielThomas merged 1 commit into
mainfrom
fix/modular-jar-example

Conversation

@DanielThomas

Copy link
Copy Markdown
Member

The published artifact is a modular JAR without a Main-Class manifest, so the documented java -jar invocation fails as an invalid or corrupt JAR.

Use the module launcher and describe the artifact as a modular JAR instead.

Validation:

  • Confirmed java -jar fails with the published 0.8.2 artifact
  • Confirmed the replacement module-path invocation succeeds
  • git diff --check

@DanielThomas
DanielThomas merged commit 639a967 into main Sep 22, 2026
1 check passed
@DanielThomas
DanielThomas deleted the fix/modular-jar-example branch September 22, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant