Upgrade NI Quickstart workshop to GraalVM for JDK 24; Refactor the demo part instead of Log4J use JSON Serialization.#25
Merged
Conversation
olyagpl
commented
May 21, 2025
| cd native-image/native-image-quick-start/lab/ | ||
| ./mvnw --no-transfer-progress clean package exec:exec | ||
| ./mvnw --no-transfer-progress clean package exec:exec -Pjava_agent | ||
| java -agentlib:native-image-agent=config-output-dir=./src/main/resources/META-INF/native-image -cp ./target/graalvmnidemos-1.0-SNAPSHOT-jar-with-dependencies.jar serialization.App |
Member
Author
There was a problem hiding this comment.
If you run the profile -Pjava_agent, the agent produces an empty reachability-metadata.json file so I recommend to run with java. I updated accordingly in README.md
| alt="GraalVM logo" | ||
| width="200px"> | ||
|
|
||
| # Get Started with GraalVM Native Image |
Member
Author
There was a problem hiding this comment.
@krisfoster, I upgraded and refactored this workshop to be compatible with GraalVM for JDK 24, latest Native Build Tools and the demo part has to be replaced. This workshop now matches the alternative one in Luna: https://luna.oracle.com/lab/47dafec8-4095-4fba-8313-dad43a64dee4
0bbe593 to
a536496
Compare
a536496 to
c0329a0
Compare
…4J demo with JSON Serialization
c0329a0 to
bd26491
Compare
Collaborator
|
Tested. Looks good to me. |
sachin-pikle
previously approved these changes
May 25, 2025
olyagpl
commented
May 26, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.