4 ms·
I haven't followed the process, but if they just wanted to break up rt.jar, why didn't they do just that and break it into smaller jars that you may/may not inc
by nmadden 9y ago
I haven't followed the process, but if they just wanted to break up rt.jar, why didn't they do just that and break it into smaller jars that you may/may not include on the classpath?
- mike_hearn 9y agoThat's pretty much what they've done. Java modules are just JARs with an additional file in them that states what they depend on, along some other stuff like which packages are meant to be used and which are internal. Look at this module graph: http://download.java.net/java/jdk9/docs/api/javafx.web-summary.html http://download.java.net/java/jdk9/docs/api/javafx.web-summa... To figure out the set of JARs you need, you need to specify which JARs your program needs, and then follow the dependencies. Which is what the new jlink tool does.