The JDK is too big for every app to do that, imo.
Which is why there are linking and packaging tools for trimming fat that isn't needed, or even AOT compile the application.
Which is why there are linking and packaging tools for trimming fat that isn't needed, or even AOT compile the application.