Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jlink fails with openjdk(11|12|13) binaries for macOS: Error: Hash of java.rmi differs to expected hash recorded in java.base #1

Closed
gubatron opened this issue Aug 20, 2019 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@gubatron
Copy link

gubatron commented Aug 20, 2019

I've downloaded 3 different builds for macOS (x64/hotspot) (jdk11, jdk12, jdk13) and every time I try to create a custom jre with jlink I always have the following issue:

jlink --no-header-files --no-man-pages --add-modules --compress=1 java.base,java.compiler,java.desktop,java.instrument,java.management,jdk.management.agent,java.naming,java.prefs,java.scripting,java.sql,jdk.jdwp.agent,jdk.net,jdk.unsupported,jdk.security.auth,jdk.pack,jdk.crypto.cryptoki --output jre

Error: Hash of java.rmi (65cbca076e0ec4c90e2704d4fb8f4d7d121c0f0618a4af0381c9cc6aa58bc49c) differs to expected hash (e8e7adf5a12eba7ad5e980dfb857ab3ae770e4fce2a6cbffa83334d80436c38e) recorded in java.base

any help would be appreciated.

@karianna karianna added the duplicate This issue or pull request already exists label Aug 21, 2019
@karianna
Copy link
Member

REported in the openjdk-build repo - we're respinning releases to fix this.

@gubatron
Copy link
Author

In case anybody gets here, here's that issue on the openjdk-build repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants