Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is officially supported in JDK 9. It's part of an ongoing project called "jigsaw" which is introducing modules to the JVM. The first step, shipping in 9, is to modularize the JDK [0].

Already today you can build a custom JDK in the early access release.

[0] http://openjdk.java.net/jeps/200



Not that well. The java.base module is still huge. Also, Zulu has nice pre-packaged JDK9 downloads[0] so you don't have to build.

0 - http://zulu.org/zulu-9-pre-release-downloads/


I think jlink can strip at the class level, not just the module level.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: