This article explains the steps to install OpenJDK Java Development Kit on MAC OSX using homebrew cask

  • App Name – OpenJDK Java Development Kit
  • App Version – 14.0.1,7:664493ef4a6946b186ff29eb326336a2
  • App url – https://openjdk.java.net/
  • App dmg file – packagedmglink
  • App appcast link – Not available

Steps To Install OpenJDK Java Development Kit

  • Open Spotlight search using “command + space” button and type “Terminal“. Then press “return/enter” key. This will open terminal.

    spotlight search terminal

  • Run the following command in terminal to install brew cask

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null ; brew install caskroom/cask/brew-cask 2> /dev/null

    Install brew cask on mac

  • Now install OpenJDK Java Development Kit with the following command

    brew install --cask java

  • OpenJDK Java Development Kit is installed now and ready to use!