issue: the following message appears as soon as a zsh terminal runs.
The operation couldn’t be completed. Unable to locate a Java Runtime. Please visit http://www.java.com for information on installing Java.
run the following commands to fix the issue yes, symbolic link must be linked manually
brew install java sudo ln -sfn $(brew --prefix)/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk