Install the JDK

You can use any JDK to build Java applications for Azure. This article will help you get started with the Azul Zulu build of OpenJDK for Azure.

Important

Update June 30th, 2021: Zulu for Azure will no longer receive updates or support starting January 1st, 2022. Azure services are transitioning to Microsoft Build of OpenJDK for JDK 11 and Eclipse Temurin for JDK 8. For more information, see End of Updates, Support and Availability of the Zulu for Azure builds of OpenJDK.

The Azul Zulu builds are a no-cost, multi-platform, production-ready distribution of the OpenJDK that you can use for developing Java applications for Azure and Azure Stack. They contain all the components for building and running Java SE applications.

There are multiple download package types supported for each client OS.

Note

The following instructions target the 64-bit Java 8 and 11 versions of the JDK.

Windows and macOS

Download and install the Azul Zulu build of OpenJDK for Windows

  1. Visit one of the following URLs and download the latest 64-bit Azul Zulu JDK 8 or 11 as an MSI.

  2. Navigate to the directory and double-click the downloaded MSI file to begin installation.

Download and install the Azul Zulu build of OpenJDK for Mac

  1. Visit one of the following URLs and download the latest 64-bit Azul Zulu JDK 8 or 11 as a DMG file.

  2. Launch Finder, navigate to the download directory, and double-click the DMG file.

Confirm your installation

To confirm your installation, go to the command-line, run java -version, and verify you have the Zulu Build OpenJDK 11 installed.

Linux

The Azul Zulu Builds of OpenJDK are also provided as DEB, RPM, and extractable TAR.GZ packages.

For more information on Linux, see Azul Zulu Builds of OpenJDK.

Learn more

For more detailed guidance on preparing, installing, and managing your Azul Zulu Builds of OpenJDK, see the official Zulu docs.