-
Notifications
You must be signed in to change notification settings - Fork 453
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 when running JAR through console on macOS #636
Comments
Any ideas on how I could go about seeking a fix for this? Should I report this to JavaFX (somehow)? |
Try manually upgrading JFX version in |
With JFX set to JFX 21-ea+5 Log
With JFX set to JFX 19.0.2 Log
|
I don't have OSX system to debug this. Try reporting this to openjfx maintainers. |
This bug seems to only be associated with certain jdk distributions or more likely however homebrew does it. Zulu18 and AdoptOpenJDK-16 worked for me, but ymmv. |
Any update on this issue? |
I still haven't managed to get Recaf working on my M1 Pro, but I can't recall if I ended up testing AdoptOpenJDK or Zulu as per gsquaredxc's suggestion. I'm guessing it has something to do with JavaFX being absent from OpenJDK's build (even though Recaf bundles it in ????) as MCASelector runs into that same issue. See https://github.com/Querz/mcaselector/wiki/Installation. |
Its not related to JavaFX being absent. You can see in the crash log mentions of the JFX natives. Since you're on 2x, try seeing if updating JFX will solve the issue. You can bump up the version here https://github.com/Col-E/Recaf/blob/master/pom.xml#L22 to one of the later versions |
Alrighty, I changed JFX to version 21 and built it using
Should I be using a different Java version than 21? |
Well, the Java version shouldn't matter much, so long as its compatible with JavaFX. The issue looks like https://bugs.openjdk.org/browse/JDK-8296654 which is why I recc'd updating JavaFX since the ticket has since been closed and marked as fixed. Odd that it didn't resolve the issue. Maybe try a specific version that is mentioned on the ticket instead of the latest, though I assumed the latest would have the fix. |
Description
Recaf crashes when trying to run the JAR through the command line.
Some system information:
Please let me know if you'd like me to provide any other information.
To Reproduce
Steps to reproduce the behavior:
recaf-2.21.13-J8-jar-with-dependencies.jar
.java -jar recaf-2.21.13-J8-jar-with-dependencies.jar
.Console Output
The text was updated successfully, but these errors were encountered: