Hi Remi, but the exact same thing happens when the JDK is linked with jlink, right? I just now see that the native binaries from the jmod archives are also present in lib/.
So does that really mean that the jmods folder plays no role for the running JVM? What is it there for? so long ... Nicolai On 07.01.2018 14:15, Remi Forax wrote: > All classes are merged in the file named 'modules' and the native > libraries are extracted from the jmods and put in the lib folder, > because jlink create an image for a specific architecture/OS. > > cheers, Rémi > > ----- Mail original ----- >> De: "Nicolai Parlog" <n...@codefx.org> À: "jigsaw-dev" >> <jigsaw-dev@openjdk.java.net> Envoyé: Dimanche 7 Janvier 2018 >> 13:57:51 Objet: Where do modules go in jlink images? > >> Hi! >> >> Another question about jlink (guess what chapter I'm working on >> ;) ). I've tried to find out where jlink puts the content of the >> jmods folder, but hit a wall. >> >> I created a full runtime image with jlink and diffed the file >> trees (including disk usage), but all that got me was that my >> image doesn't contain bin/jmc, jmods, lib/misssioncontrol, >> lib/src.zip, and lib/plugin-legacy.jar - all of that is expected, >> but where are the class files from the jmod archives? >> >> Now I wonder, whether these are just ornamental - does >> lib/modules contain all the bytecode? I'm confused. >> >> so long ... Nicolai >> >> >> >> -- >> >> PGP Key: >> http://keys.gnupg.net/pks/lookup?op=vindex&search=0xCA3BAD2E9CCCD509 >> >> >> Web: >> http://codefx.org a blog about software development >> https://www.sitepoint.com/java high-quality Java/JVM content >> http://do-foss.de Free and Open Source Software for the City of >> Dortmund >> >> Twitter: https://twitter.com/nipafx > -- PGP Key: http://keys.gnupg.net/pks/lookup?op=vindex&search=0xCA3BAD2E9CCCD509 Web: http://codefx.org a blog about software development https://www.sitepoint.com/java high-quality Java/JVM content http://do-foss.de Free and Open Source Software for the City of Dortmund Twitter: https://twitter.com/nipafx