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

About Apple M1 Pro #378

Open
cafe-old-babe opened this issue Jan 18, 2022 · 10 comments
Open

About Apple M1 Pro #378

cafe-old-babe opened this issue Jan 18, 2022 · 10 comments

Comments

@cafe-old-babe
Copy link

download from the official website jd-gui-osx-1.6.6.tar
running tips
image
local inclusion Java environment
image
universalJavaApplicationStub.sh change -v to -V ,solve this problem
image

@cafe-old-babe
Copy link
Author

cafe-old-babe commented Jan 18, 2022

System version: macOS Monterey 12.1

@JensHouses
Copy link

You just need to remove the plus sign: change 1.8+ to 1.8 in the Info.plist file:
screenshot

As you can see the command -F -v with the arg 1.8+ doesn't work!
Bildschirmfoto 2022-02-10 um 01 04 34

@EVINK
Copy link

EVINK commented Mar 7, 2022

You just need to remove the plus sign: change 1.8+ to 1.8 in the Info.plist file: screenshot

As you can see the command -F -v with the arg 1.8+ doesn't work! Bildschirmfoto 2022-02-10 um 01 04 34

This doesn't work for me, just simply change -v to -V in universalJavaApplicationStub.sh is OK.

@zhanggang807
Copy link

You just need to remove the plus sign: change 1.8+ to 1.8 in the Info.plist file: screenshot

As you can see the command -F -v with the arg 1.8+ doesn't work! Bildschirmfoto 2022-02-10 um 01 04 34

which app you use to open plist file???

@zhanggang807
Copy link

@JensHouses

@JensHouses
Copy link

@zhanggang807 I used Xcode to open it but u can edit it from the terminal.

go to the JD-GUI.app/Contents folder and type in:
plutil -replace JavaX.JVMVersion -string 1.8 Info.plist

will Change the "1.8+" to the value "1.8".

@cha2hyun
Copy link

cha2hyun commented Mar 8, 2023

image
@JensHouses Doesnt work for me Any help?

@JensHouses
Copy link

JensHouses commented Mar 8, 2023

what version of java do you have?

you can check your Version using this command:
/usr/libexec/java_home -F -V
Gives you an output like this one

Matching Java Virtual Machines (2):
    19 (arm64) "Homebrew" - "OpenJDK 19" /opt/homebrew/Cellar/openjdk/19/libexec/openjdk.jdk/Contents/Home
    1.8.333.02 (x86_64) "Oracle Corporation" - "Java" /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
/opt/homebrew/Cellar/openjdk/19/libexec/openjdk.jdk/Contents/Home

@cha2hyun
Copy link

#379 It works for me thanks

@liudanking
Copy link

@zhanggang807 I used Xcode to open it but u can edit it from the terminal.

go to the JD-GUI.app/Contents folder and type in: plutil -replace JavaX.JVMVersion -string 1.8 Info.plist

will Change the "1.8+" to the value "1.8".

It works for me, many thanks!

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

6 participants