Visit Azul.com Support

Get Started with Azul Platform Prime on Ubuntu

Table of Contents

Looking for Zing? The Azul Zing Virtual Machine is now Azul Zulu Prime Builds of OpenJDK and part of Azul Platform Prime. Learn more.

Need a different Linux distro? Go back to Azul Platform Prime Downloads.

These instructions will guide you through the easy process to try Azul Platform Prime on Ubuntu 20.04 LTS, 18.04 LTS, or 16.04 LTS.

Note
Our software distributions are signed by an OpenPGP key when appropriate. To verify your download, see Product Signing Keys (OpenPGP) for details.

Installing a Stream Build via Linux Package

Stream Builds are produced once a month, do not receive any security backports, and are free for development, testing, and evaluation. By downloading Stream Builds, you agree to the Azul Platform Prime Evaluation Agreement. For more information, see the Azul Platform Prime Roadmap.

  1. Import Azul’s public key:

     
    sudo wget https://assets.azul.com/files/0xB1998361219BD9C9.txt sudo apt-key add 0xB1998361219BD9C9.txt
  2. Attach the APT repository:

     
    sudo apt-add-repository "deb [arch=amd64] https://repos.azul.com/zing/ubuntu $(lsb_release -sc) main"
  3. Update the information about available packages:

     
    sudo apt-get update
  4. Run the following command to install Azul Platform Prime:

     
    sudo apt-get install zing-<jdk-version>

Use the following strings to specify the JDK version:

JDK Version String

JDK 8

zing-jdk1.8.0

JDK 11

zing-jdk11.0.0

JDK 13

zing-jdk13.0.0

JDK 15

zing-jdk15.0.0

Installing a Downloaded Stable Build

Stable Builds contain only critical fix backports, are produced on an ongoing basis, and require a license for use.

  1. Download the build from https://www.azul.com/products/prime/customer-downloads/

  2. Run the following command:

     
    sudo dpkg -i zing<zulu_prime_version>-jdk<version>.deb

Running Azul Platform Prime

Once you performed all installation steps, you can start running your Java applications with Azul Platform Prime as follows:

  1. Verify the Java version:

     
    /opt/zing/zing-<jdk-version>/bin/java -version

    Sample output for Java 8:

     
    java version "1.8.0-zing_19.07.0.0" Zing Runtime Environment for Java Applications (build 1.8.0-zing_19.07.0.0-b3) Zing 64-Bit Tiered VM (build 1.8.0-zing_19.07.0.0-b4-product-linux-X86_64, mixed mode)

    You may want to set the JAVA_HOME environment variable to point to the Azul Platform Prime installation directory, e.g. $ export JAVA_HOME=/opt/zing/zing-<jdk-version>.