Azul Platform Prime (formerly Zing) provides high-performance Java runtimes from Azul. No versions of the JRE are available by default due to licensing restrictions. You must add Azul Platform Prime JRE entries to the buildpack's manifest.yml file.
| Detection Criterion | Configured via JBP_CONFIG_ZING_JRE environment variable.
|
| Tags | zing=⟨version⟩, open-jdk-like-memory-calculator=⟨version⟩ |
To use Azul Platform Prime JRE, you must:
- Fork the buildpack and add Azul Platform Prime JRE entries to
manifest.yml - Package and upload your custom buildpack to Cloud Foundry
- Configure your application to use the Azul Platform Prime JRE
For complete step-by-step instructions, see the Custom JRE Usage Guide.
Add the following to your forked buildpack's manifest.yml:
# Add to url_to_dependency_map section:
url_to_dependency_map:
- match: zing(\d+\.\d+\.\d+\.\d+)-\d+-ca-jdk(\d+\.\d+\.\d+)-linux_x64\.tar\.gz
name: zing
version: $2
# Add to default_versions section:
default_versions:
- name: zing
version: 21.x
# Add to dependencies section:
dependencies:
# Azul Platform Prime JDK 17
- name: zing
version: 17.0.13
uri: https://cdn.azul.com/zing-zvm/feature-preview/zing24.10.0.0-3-ca-jdk17.0.13-linux_x64.tar.gz
sha256: <calculate-sha256-of-downloaded-file>
cf_stacks:
- cflinuxfs4
# Azul Platform Prime JDK 21
- name: zing
version: 21.0.5
uri: https://cdn.azul.com/zing-zvm/feature-preview/zing24.10.0.0-3-ca-jdk21.0.5-linux_x64.tar.gz
sha256: <calculate-sha256-of-downloaded-file>
cf_stacks:
- cflinuxfs4# Download the JDK
curl -LO https://cdn.azul.com/zing-zvm/feature-preview/zing24.10.0.0-3-ca-jdk17.0.13-linux_x64.tar.gz
# Calculate SHA256
sha256sum zing24.10.0.0-3-ca-jdk17.0.13-linux_x64.tar.gzAzul Platform Prime downloads require an Azul account and license. Contact Azul for access:
- Azul Platform Prime Downloads: https://www.azul.com/downloads/prime/
- Contact Azul: https://www.azul.com/contact-us/
The URL patterns typically follow:
https://cdn.azul.com/zing-zvm/feature-preview/zing<zing-version>-ca-jdk<jdk-version>-linux_x64.tar.gz
After adding Azul Platform Prime JRE to your buildpack's manifest, configure your application:
# Push with your custom buildpack
cf push my-app -b my-custom-java-buildpack
# Select Azul Platform Prime JRE
cf set-env my-app JBP_CONFIG_ZING_JRE '{jre: {version: 21.+}}'
# Restage to apply
cf restage my-appOr in your application's manifest.yml:
applications:
- name: my-app
buildpacks:
- my-custom-java-buildpack
env:
JBP_CONFIG_ZING_JRE: '{jre: {version: 21.+}}'| Name | Description |
|---|---|
JBP_CONFIG_ZING_JRE |
Configuration for Azul Platform Prime JRE, including version selection (e.g., '{jre: {version: 21.+}}'). |
Azul Platform Prime does not use the memory calculator. See Memory below.
Recommended approach: Use Cloud Foundry Trusted System Certificates. Operators deploy trusted certificates that are automatically available in /etc/cf-system-certificates and /etc/ssl/certs.
Azul Platform Prime JRE does not use the jvmkill agent. Instead, it uses the -XX:ExitOnOutOfMemoryError flag by default, which terminates the JVM process when an out-of-memory error occurs.
If a Volume Service with the string heap-dump in its name or tag is bound to the application, terminal heap dumps will be written with the pattern <CONTAINER_DIR>/<SPACE_NAME>-<SPACE_ID[0,8]>/<APPLICATION_NAME>-<APPLICATION_ID[0,8]>/<INSTANCE_INDEX>-<TIMESTAMP>-<INSTANCE_ID[0,8]>.hprof
Heapdump written to /var/vcap/data/9ae0b817-1446-4915-9990-74c1bb26f147/pcfdev-space-e91c5c39/java-main-application-892f20ab/0-2017-06-13T18:31:29+0000-7b23124e.hprof
The Java buildpack does not run the Java Buildpack Memory Calculator for Azul Platform Prime. It sets no heap, metaspace, or thread stack sizes, so the memory calculator settings (class_count, headroom, stack_threads) have no effect and the JVM uses its own defaults. To size memory regions, set the JVM options yourself, for example -Xmx, with Java Options.
Azul Platform Prime includes advanced features beyond standard OpenJDK:
- ReadyNow!: Eliminates JVM warm-up time through persistent compilation profiles
- Falcon JIT Compiler: LLVM-based JIT compiler for better peak performance
- C4 Garbage Collector: Pauseless garbage collection for low-latency applications
- Optimizer Hub: Cloud-based compilation optimization (requires separate configuration)
Refer to Azul Platform Prime documentation for feature configuration.
- Custom JRE Usage Guide - Complete instructions for adding BYOL JREs
- OpenJDK JRE - Default JRE (no configuration required)
- Azul Zulu JRE - Azul's OpenJDK-based offering (included in manifest)