Fix Error: Cask 'java' is unavailable in Homebrew
·1 min
After update brew to latest version, when calling cask related command, it always outputs Error: Cask 'java' is unavailable: No Cask with this name exists., such as brew list --cask. However, the brew command works.
After doing some research, I found Java has been moved to homebrew/core.