JRE 10 lib/modules - Runtime JImage File

Q

What is the lib\modules file in JRE 10 installation directory?

✍: FYIcenter

A

If you have JRE 10 installed, you will see the lib\modules file in the JRE 10 installation directory. It is the runtime JImage file of all Java language modules and some JDK tool modules.

You can list all modules and classes in lib\modules using the "jimage list" command:

C:>\fyicenter\jdk-10.0.2\bin\jimage list \fyicenter\jre-10.0.2\lib\modules

jimage: \fyicenter\jre-10.0.2\lib\modules

Module: java.activation
    META-INF/mailcap.default
    META-INF/mimetypes.default
    com/sun/activation/registries/LineTokenizer.class
    com/sun/activation/registries/LogSupport.class
    com/sun/activation/registries/MailcapFile.class
    com/sun/activation/registries/MailcapParseException.class
    com/sun/activation/registries/MailcapTokenizer.class
    com/sun/activation/registries/MimeTypeEntry.class
    com/sun/activation/registries/MimeTypeFile.class
    javax/activation/ActivationDataFlavor.class
    javax/activation/CommandInfo$Beans$1.class
    javax/activation/CommandInfo$Beans.class
    javax/activation/CommandInfo.class
    javax/activation/CommandMap.class
    javax/activation/CommandObject.class
    javax/activation/DataContentHandler.class
    javax/activation/DataContentHandlerFactory.class
    javax/activation/DataHandler$1.class
    javax/activation/DataHandler.class
    javax/activation/DataHandlerDataSource.class
    javax/activation/DataSource.class
    javax/activation/DataSourceDataContentHandler.class
    javax/activation/FileDataSource.class
    javax/activation/FileTypeMap.class
    javax/activation/MailcapCommandMap$1.class
    javax/activation/MailcapCommandMap.class
    javax/activation/MimeType.class
    javax/activation/MimeTypeParameterList.class
    javax/activation/MimeTypeParseException.class
    javax/activation/MimetypesFileTypeMap$1.class
    javax/activation/MimetypesFileTypeMap.class
    javax/activation/ObjectDataContentHandler.class
    javax/activation/SecuritySupport$1.class
    javax/activation/SecuritySupport$2.class
    javax/activation/SecuritySupport$3.class
    javax/activation/SecuritySupport$4.class
    javax/activation/SecuritySupport$5.class
    javax/activation/SecuritySupport.class
    javax/activation/URLDataSource.class
    javax/activation/UnsupportedDataTypeException.class
    module-info.class

Module: java.base
    META-INF/services/java.nio.file.spi.FileSystemProvider
    com/sun/crypto/provider/AESCipher$AES128_CBC_NoPadding.class
    com/sun/crypto/provider/AESCipher$AES128_CFB_NoPadding.class
    ...

 

JDK 10 Modules List

JDK 10 lib/src.zip - Source Code

Download and Use JDK 10

⇑⇑ FAQ for JDK (Java Development Kit)

2020-03-25, 1103🔥, 0💬