Visit Azul.com Support

Upgrading and Uninstalling Azul Zulu Prime Builds of OpenJDK

Table of Contents
Need help?
Schedule a consultation with an Azul performance expert.
Contact Us
Looking for Zing?
The Azul Zing Virtual Machine is now Azul Zulu Prime Builds of OpenJDK and part of Azul Platform Prime.
Learn more

This section provides the steps to uninstall or upgrade Azul Platform Prime components. Tasks in this section apply to standard Azul Platform Prime and DKMS installations.

Upgrading Azul Zulu Prime Builds of OpenJDK

To upgrade an Azul Zulu Prime Build of OpenJDK ("Azul Zulu Prime JVM"):

  1. Login to your system with sudo privileges.

  2. Download the latest Azul Zulu Prime JVM software .rpm, .deb, or .tar.gz file.

  3. Ensure there are no running processes using Azul Platform Prime memory. All currently-running Azul Zulu Prime JVM instances must be terminated before attempting to upgrade. If this is not done, the upgrade and/or memory preallocation might fail or result in incorrect configuration.

  4. Identify the installed Azul Zulu Prime JVM packages.

    • For RHEL or SLES:

       
      $ rpm -qa|grep zing
    • For Ubuntu:

       
      $ dpkg -l|grep zing

      Sample response:

       
      zing-jdk<version>-<zvm_version>.<platform>
  5. Install the downloaded Azul Zulu Prime JVM installation file. Use the appropriate operating system installation command:

    • For Tar archive installation:

       
      $ tar -C /<zing_java_directory>/zing -xzvf zing<zvm_version>-jdk<version>-<platform>.tar.gz
    • For RHEL:

       
      $ yum localinstall ./zing<zvm_version>-jdk<version>-<platform>.rpm
    • For SLES:

       
      $ zypper install ./zing<zvm_version>-jdk<version>-<platform>.rpm
    • For Ubuntu:

       
      $ dpkg -i ./zing<zvm_version>-jdk<version>_<platform>.deb

Uninstalling an Azul Zulu Prime JVM

To uninstall Azul Zulu Prime JVM, complete the following steps:

  1. Login to your system as a sudo user if the Azul Zulu Prime JVM was installed using such standard Linux package mangers as rpm, dpkg, zypper, or yum. If the Azul Zulu Prime JVM was installed by a user with access privileges other than a sudo user, login as the user with those privileges.

  2. Ensure there are no running processes using Azul Zulu Prime JVM memory.

  3. Identify the installed Azul Zulu Prime JVM packages, use

    • For RHEL or SLES:

       
      $ rpm -qa|grep zing
    • For Ubuntu:

       
      $ dpkg -l|grep zing
  4. Sample response:

     
    zing-jdk<version>-<zvm_version>.<platform>
  5. Run the appropriate remove or delete command:

    • For Tar installations:

       
      $ rm -rf <zing_java_directory>
    • For RHEL:

       
      $ sudo yum remove zing<zvm_version>-jdk<version>-<platform>
    • For SLES:

       
      $ sudo zypper remove zing<zvm_version>-jdk<version>-<platform>
    • For Ubuntu:

       
      $ sudo apt remove ./zing<zvm_version>-jdk<version>_<platform>