Visit Azul.com Support

Upgrading and Uninstalling Azul Zing Builds of OpenJDK

Table of Contents
Need help?
Schedule a consultation with an Azul performance expert.
Contact Us

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 Zing Builds of OpenJDK

To upgrade an Azul Zing Build of OpenJDK (Zing):

  1. Login to your system with sudo privileges.

  2. Download the latest Zing software .rpm, .deb, or .tar.gz file.

  3. Ensure there are no running processes using Azul Platform Prime memory. All currently-running Zing 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 Zing 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 Zing 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 Azul Zing Builds of OpenJDK

To uninstall an Azul Zing Build of OpenJDK (Zing), complete the following steps:

  1. Login to your system as a sudo user if Zing was installed using such standard Linux package mangers as rpm, dpkg, zypper, or yum. If Zing 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 Zing memory.

  3. Identify the installed Zing packages.

    • 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>