If you are or want to be java programmer – you need to install jdk on your mac.  It can be done on few easy steps.

1. Download jdk

Download links – jdk 1.8

  1. Accept the license agreement
  2. Click the jdk-8u121-macosx-x64.dmg (.dmg file meant to be mac)
  3. Double Click on the .dmg file to start install the jdk once you download complete.



2. Install Jdk

  1. Double click on the package installer.
  2. Click on the continue button.
  3. Enter the password to continue the install
  4. Finish / close the button.


3. How to Test jdk is installed

  1. Open terminal
  2. enter java -version
  3. The above command should display the version. (refer the below screenshot)




Watch the Video: