I wanted to install openjdk on my new MacBook Pro M1 with Big Sur. I installed Xcode, and homebrew, but if I try to do
brew search java
I get
==> Casks
charles-applejava java-beta java6 homebrew/cask/eclipse-java
and if I do
brew search openjdk
I get
==> Casks
adoptopenjdk8 microsoft-openjdk11 homebrew/cask/microsoft-openjdk
I know other people have successfully installed openjdk using brew on M1 machines, so I'm wondering what I'm missing here??