This article shows you how to install Oracle JDK $java_version on your
Mac system. This article uses JDK $java_version$java_update_no to
demonstrate the installation. In the provided commands, replace the
version specific paths and file names according to the downloaded
version.
Oracle provides a Mac installer and a binary file.This article
explains how to install Oracle JDK using the mac installer and how to
set the JAVA_HOME variable.