Install Java on Mac OS
Last updated
Last updated
https://www.oracle.com/java/technologies/downloads/#java17
Step 1: Download Java 17 by clicking on the download option as highlighted in the below media over where you need to download ‘.dmg’ one and carry on with the download procedure.
Tip: You can also opt to download the x64 compressed archive and then extract it to your Mac.But in mac while downloading any application it is suggested to download complete files instead of compressed files due to internal constraints of macOS ocosystem.
Step 2: Open the DMG file -> double click the JDK package to downloaded in the previous step to start installing Oracle JDK 17 on your Mac. It will install the DMG disk and presents the installer as shown in Figure. Go through the updated License Agreement of Oracle JDK.
Step 3: Click the Continue button -> select destination -> install -> Enter your password to give permission to install java 17.
Note: You may change the installation location by clicking the Go Back Button. It didn’t allow me to change the installation location on Big Sur.
Step 4: Now unmount the DMG image as shown in Fig by right-clicking it basically we are deleting the setup just unlikely we do in Windows
Step 5: To confirm the installation, we can check the JDK version, as shown in the picture below. That’s all about installing Oracle JDK 17 on macOS.