Open overheadhunter opened 3 years ago
After unpacking the libraries, we can run jdeps to generate a list of system modules (starting with java. or jdk.):
jdeps
java.
jdk.
jdeps --module-path libs -R --multi-release 11 -s libs/cryptomator-x.y.z.jar | awk -F ' -> ' '{print $2}' | grep -E '^java\.|^jdk\.' | sort | uniq | tr '\n' ','
~:warning: At the moment, this list would include java.jwt (still awating https://github.com/auth0/java-jwt/pull/484).~ :warning: This list does not include dependencies, which are only loaded at runtime such as jdk.crypto.ec
java.jwt
jdk.crypto.ec
This list can then be passed to jlink.
jlink
After unpacking the libraries, we can run
jdeps
to generate a list of system modules (starting withjava.
orjdk.
):~:warning: At the moment, this list would include
java.jwt
(still awating https://github.com/auth0/java-jwt/pull/484).~ :warning: This list does not include dependencies, which are only loaded at runtime such asjdk.crypto.ec
This list can then be passed to
jlink
.