Open cafe-old-babe opened 2 years ago
System version: macOS Monterey 12.1
You just need to remove the plus sign: change 1.8+ to 1.8 in the Info.plist file:
As you can see the command -F -v with the arg 1.8+ doesn't work!
You just need to remove the plus sign: change 1.8+ to 1.8 in the Info.plist file:
As you can see the command -F -v with the arg 1.8+ doesn't work!
This doesn't work for me, just simply change -v
to -V
in universalJavaApplicationStub.sh
is OK.
You just need to remove the plus sign: change 1.8+ to 1.8 in the Info.plist file:
As you can see the command -F -v with the arg 1.8+ doesn't work!
which app you use to open plist file???
@JensHouses
@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".
@JensHouses Doesnt work for me Any help?
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
https://github.com/java-decompiler/jd-gui/pull/379 It works for me thanks
@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!
download from the official website
jd-gui-osx-1.6.6.tar
running tips local inclusion Java environment universalJavaApplicationStub.sh change -v to -V ,solve this problem