-
Notifications
You must be signed in to change notification settings - Fork 7
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
Crash on new Mac OS and JRE install #441
Comments
hi there. Thank you for opening a ticket and for the kind words. Let's start with the version of
For example, mine looks like: $ java -version
openjdk version "11.0.24" 2024-07-16
OpenJDK Runtime Environment (build 11.0.24+8)
OpenJDK 64-Bit Server VM (build 11.0.24+8, mixed mode) |
Here it is:
|
Could be a bit too recent version, I've only tested against the 11 and 17 releases. Are you able to downgrade to version 17 and try that? Version 21 appears to be another LTS release so that will be supported, too, I just haven't tried it yet. |
I tried with 17, but that doesn't seem to have helped.
|
Looks like this is a bug with versions of OpenJDK built on older versions of Xcode (or something):
With lots of duplicate/related issues: The first link mentions a way to reproduce this using any old JDK version:
I'll give that a shot on the weekend with my (ancient) mac. It might help me come up with a fix. If there is information in those tickets that helps with your own debugging please let me know! |
Thanks for looking into this! I'll let you know if I figure anything out. I tried installing the (old) JRE Oracle suggests, but that brings up a different error:
|
Just wanted to let you know Strongbox seems to work when using "jdk-17.jdk" (in /Library/Java/JavaVirtualMachines/) from an old backup. Apparently that was what was being used before I had to reinstall MacOS last week. Any of the Temurin builds fail with the error above. |
That's very interesting to know, thanks! Without a new mac this is difficult to fix. |
Sorry for the delay in investigating this, I've been on holiday. So, from the bug reports I linked above it seems the problem is the version of JavaFX Strongbox bundles in the standalone
on Macs using JDKs built using newer versions of XTools. It looks like they patched and released this in newer versions of JavaFX 20, however Strongbox is using an older version of JavaFX 20 because, for some reason, they did an initial JavaFX 20 release ( I have a PR to drop JDK11 support here (EOL 1+ year ago) and I've uploaded a build of strongbox using these updated versions of JavaFX: https://ogri.la/static/strongbox/releases/branch--jdk-17/strongbox-7.6.0-unreleased-standalone.jar If you could please:
and then
I'd be grateful. |
Success! Thank you so much! It now works fine with 21.0.5. I also confirmed 7.5 still fails, so you definitely fixed it. :) Thanks again for all your work on this project, and happy new year! |
Ah, that's great news. Thanks for testing. I'll do a proper release in the next or day two. |
Thank you for this amazing app! After reinstalling Mac OS with the latest version and installing a JRE, Strongbox is crashing at startup. I ran it via shell which shows this error:
The text was updated successfully, but these errors were encountered: