2 ms·
That'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 wh
by mike_hearn 10y ago
That'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.