All of the steps below were tested on an Intel Mac running Big Sur.
Download and extract your zulu JDK and point these variables to it:
export ARM64=${PWD}/zulu17.0.13-ea-jdk17.0.0-ea.2-macosx_aarch64
export AMD64=${PWD}/zulu17.0.13-ea-jdk17.0.0-ea.2-macosx_x64
export BUILD=${PWD}