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

Fails to detect installed Oracle JDK #373

Open
alexchandel opened this issue Oct 7, 2021 · 4 comments
Open

Fails to detect installed Oracle JDK #373

alexchandel opened this issue Oct 7, 2021 · 4 comments

Comments

@alexchandel
Copy link

Running JD-GUI on macOS 11 with the official Oracle JDK installed (e.g. this installer) results in the following incorrect error:

ERROR launching 'JD-GUI'

No suitable Java version found on your system!
This program requires Java 1.8+
Make sure you install the required Java version.

I have Oracle's own Java 17 JDK installed. Please fix this.

@alexchandel
Copy link
Author

If I merely execute cd /Applications/JD-GUI.app/Contents/Resources/Java && java -jar jd-gui-1.6.6-min.jar with default system PATH, it works. So this is a failure of the "universal" universalJavaApplicationStub.sh.

@alexchandel
Copy link
Author

Related: #373

@JensHouses
Copy link

here is how you can fix it: #378 (comment)

@aolphn
Copy link

aolphn commented May 30, 2023

@alexchandel thanks,it works for me.

cd /Applications/JD-GUI.app/Contents/Resources/Java && java -jar jd-gui-1.6.6-min.jar

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

3 participants