Skip to content

docs: replace non-existent HelloWorldApp references with java --version#1043

Merged
brunoborges merged 2 commits into
mainfrom
copilot/update-readme-examples
Jun 22, 2026
Merged

docs: replace non-existent HelloWorldApp references with java --version#1043
brunoborges merged 2 commits into
mainfrom
copilot/update-readme-examples

Conversation

Copilot AI commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

README and advanced-usage examples referenced HelloWorldApp.java / HelloWorldApp in run steps without ever creating that file, causing copy-paste failures.

Changes:

  • README.md (4 occurrences): replaced java HelloWorldApp.java with java --version
  • docs/advanced-usage.md (19 occurrences): replaced java -cp java HelloWorldApp with java --version; for the GraalVM example, also replaced native-image -cp java HelloWorldApp with native-image --version

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

Copilot AI changed the title [WIP] Update README examples to remove HelloWorldApp.java references docs: replace non-existent HelloWorldApp references with java --version Jun 22, 2026
Copilot AI requested a review from brunoborges June 22, 2026 21:39
@brunoborges brunoborges marked this pull request as ready for review June 22, 2026 21:59
@brunoborges brunoborges requested a review from a team as a code owner June 22, 2026 21:59
Copilot AI review requested due to automatic review settings June 22, 2026 21:59
@brunoborges brunoborges merged commit 4baa9b4 into main Jun 22, 2026
1 check passed
@brunoborges brunoborges deleted the copilot/update-readme-examples branch June 22, 2026 21:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the documentation examples to avoid referencing a non-existent HelloWorldApp.java / HelloWorldApp file by replacing those run commands with simple version-check commands.

Changes:

  • Replaced HelloWorldApp execution examples with java --version across README and advanced usage docs.
  • Updated the GraalVM example to use native-image --version instead of building/running a non-existent app.
Show a summary per file
File Description
README.md Replaces HelloWorldApp.java run steps with a Java version check command.
docs/advanced-usage.md Replaces HelloWorldApp run steps with Java/native-image version check commands across multiple distribution examples.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 4

Comment thread README.md
distribution: '<distribution>'
java-version: ${{ matrix.java }}
- run: java HelloWorldApp.java
- run: java --version
Comment thread docs/advanced-usage.md
distribution: 'dragonwell'
java-version: '8'
- run: java -cp java HelloWorldApp
- run: java --version
Comment thread docs/advanced-usage.md
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}
- run: java -cp java HelloWorldApp
- run: java --version
Comment thread docs/advanced-usage.md
distribution: 'temurin'
java-version: ${{ matrix.java }}
- run: java -cp java HelloWorldApp
- run: java --version
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.

3 participants