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

Exception when attempting to package app using jpackage #91

Open
joe-chacko opened this issue Sep 20, 2024 · 3 comments
Open

Exception when attempting to package app using jpackage #91

joe-chacko opened this issue Sep 20, 2024 · 3 comments

Comments

@joe-chacko
Copy link

I invoked jpackage as follows:

jpackage --name MyApp --input . --main-jar MyApp.jar --icon MyApp.icns --main-class com.acme.my.App --type pkg

Provided all the pieces exist (it will definitely check the jar and the main class), the following error occurs:

java.lang.module.FindException: Hash of java.rmi (6f400e1baf5502b51abe9c2bf616115d1c2891d0e08d1d72ad992a6b1b4f18f8) differs to expected hash (4911102cbabdd0cb1bba54c0c2a5d550fb7ffc71ced5a7c639f150ce7f228dca) recorded in java.base

This was on Semeru 17.0.12, but I found a similar problem on 17.0.11 and 21.0.4.

@pshipton
Copy link
Member

Seems to me this is a known problem on Mac.
#3

@joe-chacko
Copy link
Author

joe-chacko commented Sep 20, 2024

Any workarounds or Semeru runtimes without the bug?

@pshipton
Copy link
Member

pshipton commented Sep 20, 2024

Nothing I know of, other than using a different platform.
It wouldn't occur on 8 since 8 doesn't support modularity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants