Get Started with Azul Platform Prime on APT Systems
Need a different Linux distro? Go back to Azul Platform Prime Downloads.
These instructions guide you through the Azul Platform Prime installation for APT-based installation packages. APT packages are available for the following operating systems:
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.
Import Azul’s public key:sudo wget https://repos.azul.com/azul-repo.key sudo apt-key add azul-repo.key
Attach the APT repository for your operating system with the following command:
sudo wget -O /etc/apt/sources.list.d/zing.list http://repos.azul.com/zing/debian/zing.list
sudo apt-add-repository "deb [arch=amd64] https://repos.azul.com/zing/ubuntu $(lsb_release -sc) main"
Update the information about available packages:sudo apt-get update
Run the following command to install Azul Platform Prime:
sudo apt-get install linux-headers-$(uname -r) zing-<jdk-version>
sudo apt-get install zing-<jdk-version>
Use the following strings to specify the JDK version:
JDK Version String
Stable Builds contain only critical fix backports, are produced on an ongoing basis, and require a license for use.
Download the build from https://www.azul.com/products/prime/customer-downloads/
Run the following command:sudo apt install <downloaded-file>
The <downloaded-file> has the following form: zing<zulu_prime_version>-jdk<version>.deb
Once you performed all installation steps, you can start running your Java applications with Azul Platform Prime as follows:
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_HOMEenvironment variable to point to the Azul Platform Prime installation directory, e.g.
$ export JAVA_HOME=/opt/zing/zing-<jdk-version>.