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

JD-GUI fails to run on Mac Mini M1 with macOS 13.3.1 and Java version "20.0.1" 2023-04-18 #428

Open
carlca opened this issue May 19, 2023 · 6 comments

Comments

@carlca
Copy link

carlca commented May 19, 2023

  • Mac Mini M1
  • macOS 13.3.1 Ventura
  • Java version version "20.0.1" 2023-04-18

I've sorted out the permissions on the JD-GUI.app in System Settings > Privacy & Security. But I get this error...

Screenshot 2023-05-20 at 00 01 02

when I try to launch the app. Any idea what's up?

@g1a55er
Copy link

g1a55er commented May 24, 2023

I eventually got it running on my M1 Mac, but there are a couple things wrong with the default launcher script. I'm not going to bother packaging up and submitting them as a proper change request, because this project seems dead, but I pushed a fork of what works on my machine.

You can find the change here g1a55er@5e74301. If you just copy that new launcher script over top the old one via:

cp ./src/osx/resources/universalJavaApplicationStub.sh /Applications/JD-GUI.app/Contents/MacOS/universalJavaApplicationStub.sh 

Then you should be able to launch the app by clicking it in Launchpad.

@sanigo
Copy link

sanigo commented Jul 4, 2023

In Finder right-click jar file and Open with jd-gui, the jar will not be opened.

@aelam
Copy link

aelam commented Jul 14, 2023

@g1a55er
You can create a PR for this

@gohonsen
Copy link

@g1a55er Thanks, add JAVA_HOME setting to /Applications/JD-GUI.app/Contents/MacOS/universalJavaApplicationStub.sh works fine for me

@Teloshav
Copy link

Teloshav commented Sep 6, 2023

Then you should be able to launch the app by clicking it in Launchpad.

Thank you!

@zhangw
Copy link

zhangw commented Mar 21, 2024

@g1a55er Thanks, add JAVA_HOME setting to /Applications/JD-GUI.app/Contents/MacOS/universalJavaApplicationStub.sh works fine for me

May should use jdk1.8 (set the jdk1.8 as the JAVA_HOME)

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

7 participants