Build with Zulu OpenJDK Install the latest OpenJDK 13, 11 or 8 in Ubuntu, Debian or RHEL

The more accurate title is (but it’s too long): use the free, open source Zulu OpenJDK built by Azul Systems to install the latest OpenJDK 13, 11, 8 or even 7 in Ubuntu, Debian, Linux Mint, RHEL or SLES. . Provides DEB, RPM and tar.gz binaries, as well as apt and yum repositories.Azul Systems offers tested, certified OpenJDK versions under the following names: Zulu. Zulu is free open source software (redistributable for free) and provides the latest OpenJDK builds for Java 13, 11, 8, and 7.
Zulu OpenJDK builds are available for Windows, macOS, and Linux. On Linux, there are DEB and RPM packages that can be easily installed on Debian, Ubuntu, RHEL, Fedora, Oracle Linux or SLES, etc., as well as .tar.gz binaries and Alpine Linux-specific versions. For all the Linux distributions mentioned above, except Fedora (which does not work for me on Fedora 29) and Alpine Linux, you can also use the repository. So why build with Zulu OpenJDK instead of Oracle Java or OpenJDK?

  • Oracle Java license has changed Applies to new licenses released on April 16, 2019. The new license only allows certain uses, such as personal and development uses, for free, while others require a commercial license.
  • OpenJDK is not always up to date-it depends on the Linux distribution you are using. For example, Ubuntu 18.10 and 18.04 have OpenJDK 8u191, while Ubuntu 19.04 doesn’t even have OpenJDK 8, and the latest Oracle JDK 8 and Zulu JDK 8 are version 8u212. Also, OpenJDK 12 is only available on Ubuntu 19.04. This is the OpenJDK situation in Ubuntu:
  • Reported As an Azul employee, Zulu has gone through a full JCK / TCK to ensure that it complies with the Java SE specifications defined by JCP / JSR. In addition, analysis was performed to ensure that each individual compiled file has the correct GPLv2 with a CPE license header, thereby ensuring that you will not encounter licensing issues when building with Zulu OpenJDK.


  • New Oracle Java 11 installer for Ubuntu or Linux Mint (uses local Oracle Java .tar.gz)
  • Install Oracle Java 13 from APT PPA repository on Ubuntu, Linux Mint or Debian

Download / install Zulu OpenJDK 13, 11, 8 or 7 in Ubuntu, Debian, Linux Mint, RHEL, etc.

Zulu OpenJDK versions 13, 11, 8, or 7 for Windows, macOS, and Linux can be Download from this page. There are binary files such as DEB, RPM and .tar.gz (64-bit) on Linux. Azul Systems also provides Zulu OpenJDK (64-bit only) in Debian, Ubuntu and other Debian or Ubuntu-based Linux distributions (such as Linux) ) Mint, basic OS, etc., and RHEL, Oracle Linux or SLES.
The repository keeps older package versions, so, for example, you can downgrade a package to a version that was available before the last update in case something goes wrong with the latest version. Learn how to downgrade packages (usually) on Debian or Ubuntu.
Both the DEB / RPM package and the repository package have been updated with Java alternatives to make Zulu OpenJDK the default setting. If you use “oracle-java13-installer” (or older) on Debian / Ubuntu, you must remove the “oracle-java13-installer-set-default” package to make Zulu OpenJDK the default system Java.
The Zulu OpenJDK package does not include desktop integration, so you will not be able to find any OpenJDK desktop files in the application menu, or you can choose to open some JAR files from the file manager using Zulu OpenJDK. Import the Zulu repository key and add the Zulu repository as follows:

  • Ubuntu, Linux Mint, and other Ubuntu-based Linux distributions that support add-apt-repository:
sudo apt-key adv --keyserver hkp:// --recv-keys 0xB1998361219BD9C9

sudo apt-add-repository 'deb stable main'

sudo apt update
  • Debian:
sudo apt-key adv --keyserver hkp:// --recv-keys 0xB1998361219BD9C9

echo "deb stable main" | sudo tee /etc/apt/sources.list.d/zulu.list

sudo apt update
  • RHEL or Oracle Linux:
sudo rpm --import

sudo curl -o /etc/yum.repos.d/zulu.repo
  • SLES (may also work in openSUSE-not tested):
sudo rpm --import

sudo zypper addrepo zulu

Now you can install one of the Zulu OpenJDK builds provided by Azul Systems:

  • Debian, Ubuntu, Linux Mint, and Debian or Ubuntu-based Linux distributions:
sudo apt install zulu-
  • RHEL or Oracle Linux:
sudo yum install zulu-
  • SLES:
sudo zypper install zulu-

In all of the above cases, Is the Zulu OpenJDK version, which can be 13, 11, 8, or 7 (hence the package names: zulu-13, zulu-11, zulu-8, and zulu-7).
Additional Zulu OpenJDK links may be useful:


Related Posts