Visit Azul.com Support

Uninstall Azul Zulu on macOS

Need help?
Schedule a consultation with an Azul performance expert.
Contact Us
Talk about OpenJDK?
Discuss with the community on the Foojay Forum.
Go to Forum

This section explains how to uninstall Azul Zulu on macOS.

If you use a DMG package to install Azul Zulu, it installs the product into the /Library/Java/JavaVirtualMachines directory. To see all Azul Zulu versions installed on your Mac, navigate to this directory.

To uninstall a specific version of Azul Zulu using Finder:

  1. Open Finder and navigate to /Library/Java/JavaVirtualMachines/.

  2. Delete the directory of the Azul Zulu version you want to uninstall. You may be asked to provide your password.

To uninstall a specific version of Azul Zulu using a terminal:

  1. Launch Terminal.

  2. Navigate to the JavaVirtualMachines directory:

     
    cd /Library/Java/JavaVirtualMachines/
  3. Display the list of directories:

     
    % ls -1 zulu-11.jdk zulu-13.jre zulu-15.jdk

    Each directory corresponds to a version of Azul Zulu.

  4. To uninstall a specific version of Azul Zulu, use the following command:

     
    sudo rm -rf <zulu_directory>

    For example, to uninstall Azul Zulu 11 JDK, run:

     
    sudo rm -rf zulu-11.jdk