Skip to content

Generating jre from sdk on Macos gives error. #3

Open
@prajwal-s-nayak

Description

Generating jre using jlink gives error on Macos. The modules provided for --add-modules are the ones which are listed in --list-modules option. On windows and linux it works fine.

Sdk used: http://w3.hursley.ibm.com/java/jim/ibmsdks/java11/110120/macosxx8664/index.html

version: 11.0.12

GOLO12854:macOS-JRE persistent$ ../jdk-11.0.12+7/Contents/Home/bin/jlink --output ./generate_jre11_macOS --add-modules java.base,java.compiler,java.datatransfer,java.desktop,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.smartcardio,java.sql,java.sql.rowset,java.transaction.xa,java.xml,java.xml.crypto,jdk.accessibility,jdk.attach,jdk.charsets,jdk.compiler,jdk.crypto.cryptoki,jdk.crypto.ec,jdk.dynalink,jdk.editpad,jdk.httpserver,jdk.internal.ed,jdk.internal.jvmstat,jdk.internal.le,jdk.internal.opt,jdk.jartool,jdk.javadoc,jdk.jcmd,jdk.jconsole,jdk.jdeps,jdk.jdi,jdk.jdwp.agent,jdk.jlink,jdk.jshell,jdk.jsobject,jdk.localedata,jdk.management,jdk.management.agent,jdk.naming.dns,jdk.naming.ldap,jdk.naming.rmi,jdk.net,jdk.pack,jdk.rmic,jdk.scripting.nashorn,jdk.scripting.nashorn.shell,jdk.sctp,jdk.security.auth,jdk.security.jgss,jdk.unsupported,jdk.unsupported.desktop,jdk.xml.dom,jdk.zipfs,openj9.cuda,openj9.dataaccess,openj9.dtfj,openj9.dtfjview,openj9.gpu,openj9.jvm,openj9.sharedclasses,openj9.traceformat,openj9.zosconditionhandling 
Error: Hash of java.rmi (bfbf4653051033eb3ed1e828bce58f617e609c0c7c6c8cb86d2743df0584c378) differs to expected hash (077dce096028d2862846b94a0b91c2dceaa504b056a6f3b0bc6cb04ce7295c33) recorded in java.base

Found a similar issue : AdoptOpenJDK/openjdk12-binaries#1

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions