Skip to content

Instantly share code, notes, and snippets.

@mariorez
Last active October 7, 2021 20:49
Show Gist options
  • Save mariorez/56852b9a5566d59c18db9ce377cbd595 to your computer and use it in GitHub Desktop.
Save mariorez/56852b9a5566d59c18db9ce377cbd595 to your computer and use it in GitHub Desktop.
JAVA 11 ESSENTIAL MODULES
java.base
java.compiler
java.datatransfer
java.instrument
java.logging
java.management
java.management.rmi
java.naming
java.net.http
java.prefs
java.rmi
java.scripting
java.se
java.security.jgss
java.security.sasl
java.sql
java.sql.rowset
java.transaction.xa
java.xml
java.xml.crypto
jdk.accessibility
jdk.aot
jdk.attach
jdk.charsets
jdk.compiler
jdk.crypto.cryptoki
jdk.crypto.ec
jdk.dynalink
jdk.editpad
jdk.hotspot.agent
jdk.httpserver
jdk.internal.ed
jdk.internal.jvmstat
jdk.internal.le
jdk.internal.opt
jdk.internal.vm.ci
jdk.internal.vm.compiler
jdk.internal.vm.compiler.management
jdk.jdi
jdk.jdwp.agent
jdk.jsobject
jdk.jstatd
jdk.localedata
jdk.management
jdk.management.agent
jdk.management.jfr
jdk.naming.dns
jdk.naming.ldap
jdk.naming.rmi
jdk.net
jdk.pack
jdk.rmic
jdk.sctp
jdk.security.auth
jdk.security.jgss
jdk.unsupported
jdk.xml.dom
jdk.zipfs
@mariorez
Copy link
Author

mariorez commented Oct 7, 2021

jlink \
    --strip-debug \
    --no-man-pages \
    --no-header-files \
    --compress=2 \
    --add-modules {comma-separeted-modules} \
    --output min-jre-11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment