byebyejava Tool for removing Java on MacOS How to install If you already have Go installed, then just run go get -u github.com/artemnikitin/byebyejava Another way is to download a binary from latest release. How to use Run it with sudo: sudo byebyejava and enjoy Java-free MacOS