Install the latest jdk in macOS

Install the latest jdk in macOS

We can use brew to install the latest jdk:

1
brew cask install java