Hacker News new | ask | show | jobs
by alexhutcheson 2210 days ago
jlink[1] solves this for JDK 9 and later.

[1] https://docs.oracle.com/javase/9/tools/jlink.htm