Installation on Windows Using the Zulu ZIP File Before you install Zulu, complete the tasks in the section, Preparing the Zulu Installation Platform. Download the installation package to your local Downloads folder. Unzip the Zulu zip package, using any unzip tool. For example, right-click <zulu_package>.zip, and then click Extract All. All Zulu files for the OpenJDK are expanded into the corresponding folder. For example, %HOMEPATH%\Downloads\zulu8.48.0.51-ca-jdk8.0.262-win_x64\

Installation on Windows Using the Zulu MSI File Before you install Zulu, complete the tasks in the section, Preparing the Zulu Installation Platform. Download the installation package to your local Downloads folder. Choose a method for running the installer. To install Zulu in default location, run the package installer as Administrator, from the Windows command line: > msiexec /i <zulu_package>.msi /qn Zulu will be installed in C:\Program Files\Zulu\<zulu-jdk>\. Where jdk in <zulu-jdk> stands for the version of Zulu you plan to install, for example,zulu-11. To install Zulu in a non-default location, run the package installer as Administrator, from the Windows command line. Choose one of the following options: > msiexec /i <zulu_package>.msi INSTALLDIR="<absolute_path_to_dir>" /qn Zulu will be installed in the specified directory. Example to make java.exe available as c:\java\jdk8\bin\java.exe: > msiexec /i zulu8.42-sa-jdk8.0.232-win_x64.msi INSTALLDIR="c:\java\jdk8" /qn

> msiexec /i <zulu_package>.msi APPLICATIONROOTDIRECTORY="<absolute_path_to_dir>" /qn The \<zulu-jdk>\ folder will be created in the specified directory, and Zulu will be installed in it. Example to make java.exe available at c:\java\zulu-8\bin\java.exe: > msiexec /i zulu8.42-sa-jdk8.0.232-win_x64.msi APPLICATIONROOTDIRECTORY="c:\java" /qn To install Zulu using the Setup Wizard, double-click the <zulu_package>.msi file, make your selections and click Next as the screens are displayed. Screens include: Welcome page Destination Folderpage Accept the default destination folder C:\Program Files\Zulu\<zulu-jdk>, or click Change to enter an alternative destination. Change destination Folder window Select or create a different directory through Look in option. However, if you alter the installation path, the \<zulu-jdk> subdirectory will not be created and selected directory becomes the root Zulu directory. For example, if you selectC:\temp, Zulu will be installed into theC:\temp directory and the path to java.exe will be C:\temp\bin\java.exe. Click OK to confirm your choice. Ready to install page. Click Install to start the installation. Note: The Zulu MSI Installer updates the PATH environment variable with Zulu installation directory and creates .jar file association with Java launcher. For details on Windows registry keys, see Zulu MSI Installer and Windows Registry Settings.

Installation on Linux Using the Zulu TAR.GZ File Before you install Zulu, complete the tasks in the section, Preparing the Zulu Installation Platform. Download the installation package to a reasonable location on your system. For example: /usr/lib/jvm/ Expand the downloaded .zip file. $ tar -xzvf <zulu_package>.tar.gz All Zulu files for the OpenJDK are expanded into appropriate folders relative to the <zulu_dir>/<zulu_jdk> subfolder. For example: /usr/lib/jvm/zulu8.14.0.8-jdk8.0.91-linux.i686

Installation on Alpine Linux Using an APK Repository The Zulu product package is a set of installation packages. Zulu Package Name Description Dependencies zuluX zuluX-jdk alias None zuluX-jre-headless Headless Java Runtime (without GUI support) None zuluX-jre Headful Java Runtime (with GUI support) zuluX-jre-headless zuluX-jdk-headless Headless Java Development Kit (without GUI support) zuluX-jre-headless zuluX-jdk-headless Headless Java Development Kit (without GUI support) zuluX-jre-headless zuluX-jdk Headful Java Development Kit (with GUI support) zuluX-jdk-headless

zuluX-jre zuluX-src Java Development Kit public source snapshot None zuluX-doc Java Development Kit documentation (man pages) None zuluX-demo Java Development Kit demos and examples zuluX-jdk Where X is the Zulu version: 13, 11, and 8. Log in as root or use sudo. Complete the steps in Attach the APK Repository on Alpine Linux. Install a Zulu package. $ apk add <zulu_package_name> Example Zulu 8 To install zulu8-jre-headless, run: $ apk add zulu8-jre-headless

To install zulu8-jdk, run: $ apk add zulu8-jdk See also Azul Repository Tips in Troubleshooting.

Installation on Linux Using RPM, DEB or APT Packaging Before you install Zulu, complete the tasks in the section, Preparing the Zulu Installation Platform. Download the installation package, for example, to the following directory /tmp. Log in as root or use sudo. Install Zulu using a package installer. Select the command for your environment. For RHEL or Oracle Linux $ yum install <download_dir>/<zulu_package>.rpm

For SLES $ zypper install <download_dir>/<zulu_package>.rpm

For Ubuntu or Debian $ apt install <download_dir>/<zulu_package>.deb

Installation on Linux Using RPM, DEB or APT Packaging Before you install Zulu, complete the tasks in the section, Preparing the Zulu Installation Platform. Download the installation package, for example, to the following directory /tmp. Log in as root or use sudo. Install Zulu using a package installer. Select the command for your environment. For RHEL or Oracle Linux $ yum install <download_dir>/<zulu_package>.rpm

For SLES $ zypper install <download_dir>/<zulu_package>.rpm

For Ubuntu or Debian $ apt install <download_dir>/<zulu_package>.deb

Installation on macOS Using the Zulu ZIP File Before you install Zulu, complete the tasks in the section, Preparing the Zulu Installation Platform. Download the installation package to a reasonable location on your system. For example: /Library/Java/JavaVirtualMachines/ Expand the downloaded <zulu_package>.zip file. Choose a method. From a Finder window, double-click the <zulu_package>.zip file.

From a terminal command line. $ unzip <zulu_package>.zip All Zulu files for the OpenJDK are expanded into appropriate folders relative to the <zulu_dir>/<zulu_jdk> subfolder. For example /Library/Java/JavaVirtualMachines/zulu-8.jdk/

Installation on macOS Using a DMG Package through the GUI Before you install Zulu, complete the tasks in the section, Preparing the Zulu Installation Platform. Download the installation package to your local Downloads folder. Locate, select, and double-click the Zulu .dmg file. From the installer opening panel, double-click the box image. On the Introduction statement panel, click Continue. On the installation location panel, click Install. The default location is /Library/Java/JavaVirtualMachines. This location is typically preconfigured into the JAVA_HOME environment variable. To change the default installation location, click Change Install Location, select an installation drive, then click Install. If prompted, enter your password to accept the installation on your Mac. When installation is complete, the Congratulations panel is displayed. Click Close. All Zulu files for the OpenJDK are expanded into appropriate folders relative to the <zulu_dir>/<zulu_jdk> subfolder. For example, /Library/Java/JavaVirtualMachines/zulu-8.jdk Installation on macOS Using a DMG Package through the CLI Before you install Zulu, complete the tasks in the section, Preparing the Zulu Installation Platform. Download the installation package to your local Downloads folder. Open the Terminal.app and use the following commands to mount the .dmg package. $ cd Downloads $ hdiutil mount <zulu_package>.dmg In the last line of the output you can find the mounted path, e.g.: [...] /dev/disk2s1 Apple_HFS /Volumes/Zulu OpenJDK 11.33+15 Run the installer located at that path. $ sudo installer -pkg "/Volumes/Zulu OpenJDK 11.33+15/Double-Click to Install Zulu 11.pkg" -verbose -target / Sample system response: installer: Package name is Zulu 11.33+15

installer: Upgrading at base path /

installer: Preparing for installation.....

installer: Preparing the disk.....

installer: Preparing Zulu 11.33+15.....

installer: Waiting for other installations to complete.....

installer: Configuring the installation.....

installer:

installer: Writing files.....

installer: Writing files.....

installer: Moving items into place.....

installer:

installer: Writing package receipts.....

installer: Validating packages.....

installer: Running installer actions

installer:

installer: Finishing the Installation.....

installer: The software was successfully installed......

installer: The upgrade was successful.

All Zulu files for the OpenJDK are expanded into appropriate folders relative to the <zulu_dir>/<zulu_jdk> subfolder. For the above example: /Library/Java/JavaVirtualMachines/zulu-11.jdk

Installation on macOS Using the Zulu ZIP File Before you install Zulu, complete the tasks in the section, Preparing the Zulu Installation Platform. Download the installation package to your local Downloads folder. Expand the downloaded <zulu_package>.zip file. Choose a method. From a Finder window, double-click the <zulu_package>.zip file.

From a terminal command line, run: $ unzip <zulu_package>.zip For example, to expand the package zulu11.41.23-ca-jdk11.0.8-macosx_x64.zip, run: $ unzip -q zulu11.41.23-ca-jdk11.0.8-macosx_x64.zip All Zulu files for the OpenJDK are expanded into the corresponding folder. For the above example, this will be the folder: ~/Downloads/zulu11.41.23-ca-jdk11.0.8-macosx_x64/

Installation on macOS Using the Zulu TAR.GZ File Before you install Zulu, complete the tasks in the section, Preparing the Zulu Installation Platform. Download the installation package to your local Downloads folder. Expand the downloaded <zulu_package>.tar.gz file. Choose a method: From a Finder window, double-click the <zulu_package>.tar.gz file.

From a terminal command line, run: $ tar -xzvf <zulu_package>.tar.gz For example, to expand the package zulu13.33.25-ca-jdk13.0.4-macosx_x64.tar.gz, run: $ tar -xzvf zulu13.33.25-ca-jdk13.0.4-macosx_x64.tar.gz All Zulu files for the OpenJDK are expanded into the corresponding folder. For the above example, this will be the folder: ~/Downloads/zulu13.33.25-ca-jdk13.0.4-macosx_x64/