Uninstall Azul Zulu on macOS
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:
-
Open Finder and navigate to
/Library/Java/JavaVirtualMachines/
. -
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:
-
Launch Terminal.
-
Navigate to the
JavaVirtualMachines
directory:cd /Library/Java/JavaVirtualMachines/ -
Display the list of directories:
% ls -1 zulu-11.jdk zulu-13.jre zulu-15.jdkEach directory corresponds to a version of Azul Zulu.
-
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