

=>The Xcode Command Line Tools will be installed. opt/homebrew/share/zsh/site-functions/_brew Which will require system privileges ( sudo) and will also install XCode Command Line Tools (super helpful down the road anyway): => Checking for `sudo` access (which may request your password). So you can either disable this Safari feature but going into Settings -> General and unselect the “Open “safe” files after downloading” or just copy the download link (right click on the tar.gz link and click “Copy Link”) and then use curl at the command line (my preference!):

Most folks will just click the link and this works however by default Safari will uncompress the file after download which will make it difficult to verify the sha256 hash. Since I’m on an Apple M1, I’ll go ahead and download the macOS/AArch64 file. You can also check out the Apple Support article “Mac computers with Apple silicon” for additional details. To determine this, choose the Apple menu -> About this Mac and then look at the Chip section: Since Apple moved using their own ARM chips (“Apple Silicon”) starting with the M1 series, you’ll have to choose between “macOS / AArch64” (Apple M1 and above) and “macOS / 圆4” (older Intel chips).

For the demo, we’ll just go with the latest version (OpenJDK 19 as of Nov 2022) and you’ll be taken to a page with links to platform specific downloads.

So don’t click the green Download Java button! :-) Instead, click on the OpenJDK Early Access Builds which will then let you select which JDK you want to install. So generally folks will go to and be presented with the following website which by default is focused on installing a Java runtime for users, not the Java Development Kit developers need: Please visit for information on installing Java.
