The type of installation depends on your requirement and the platform that you choose to install.
Installation Requirements and Related Tasks
To develop or run Java applications, download and install JDK.
To understand the version-string scheme that is used to distinguish various JDK releases, see Version-String Format.
The JDK can be installed on the following platforms:
You can download JDK from Java SE Development Kit Downloads page.
For supported processors and browsers, see Oracle JDK Certified System Configurations.
The JDK documentation is a separate download. See Java SE Documentation.
Installation of JDK on Oracle Solaris: Instructions include installation from Image Packaging System (IPS) and Archive binaries.
Installation of the JDK on Microsoft Windows Platforms: Instructions include steps to install the JDK on 64-bit Microsoft Windows operating systems.
Installation of the JDK on Linux Platforms: Instructions include installation from Archive binaries and Red Hat Package Manager (RPM).
The installation of the JDK 11 requires macOS 10.11 or later.
Installation of the JDK on macOS: Instructions include steps to install the JDK on the macOS platform.
To learn about the files and directories that are created after JDK installation, see Installed Directory Structure of JDK.