Upgrade fortune-maven and fortune-gradle applications to include resources using resource-config.json instead of running the Tracing agent. The fortune-maven can run on the latest GraalVM for JDK 23 release, unlike fortune-gradle, which requires JDK 21 for compatibility with Gradle.
With this upgrade, the native executable file size decreased significantly (even without -Os optimization!). For example, from 27M to 13M for fortune-maven.
Delete staticfortune application which is basically a duplication of fortune-maven. It didn't show how to build a static image, but a mostly-static; there was no mention where this demo is used. We already have Tiny Java Containers demos demonstrating Native Image linking options.
Goals:
to use the latest GraalVM for JDK 23 features (fortune-maven only, Gradle is not compatible with JDK 23)
to promote the use of META-INF/native-image/resource-config.json
Upgrade fortune-maven and fortune-gradle applications to include resources using resource-config.json instead of running the Tracing agent. The fortune-maven can run on the latest GraalVM for JDK 23 release, unlike fortune-gradle, which requires JDK 21 for compatibility with Gradle. With this upgrade, the native executable file size decreased significantly (even without -Os optimization!). For example, from 27M to 13M for fortune-maven.
Delete staticfortune application which is basically a duplication of fortune-maven. It didn't show how to build a static image, but a mostly-static; there was no mention where this demo is used. We already have Tiny Java Containers demos demonstrating Native Image linking options.
Goals: