升级 Big Sur 后发现JD-GUI 打开报错:
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.
JD-GUI版本: jd-gui-osx-1.6.6
参见 JD-GUI 的issue :Update universalJavaApplicationStub to be able to launch on macOS Big Sur #336
我们需要替换一个文件;universalJavaApplicationStub.sh (version 3.0.6)
https://github.com/tofi86/universalJavaApplicationStub/blob/v3.0.6/src/universalJavaApplicationStub 中的内容即可