How to Shrink a Java Runtime Image from 400 MB to 28 MB with JMOD and jlink
This tutorial walks through creating a simple Java module, packaging it into a JMOD file, and using jlink to build a custom runtime image that shrinks the size from roughly 400 MB to 28 MB, then demonstrates compiling, inspecting, and running the application.
