I am trying to download JDK from Amazon Corretto https://docs.aws.amazon.com/corretto/latest/corretto-11-ug/downloads-list.html. There are 2 download links for macOS (macOSx64 or macOSaarch64) but I am not sure which one should be downloaded. I am using macOS Monterey Version 12.0.1
This is based on Comment from @sarat above.
To determine whether your macOS platform is macOSx64
(Intel-based) or macOSaarch64
(Apple Silicon-based), you can use the uname
command, which provides system information, including the architecture of the processor.
Open the Terminal on your macOS machine.
Run the following command:
uname -m
Interpret the output:
x86_64
, your system is running on an Intel 64-bit processor (i.e., macOSx64
).arm64
, your system is running on an Apple Silicon processor (i.e., macOSaarch64
).Intel-based Mac (macOSx64):
uname -m
Output:
x86_64
Apple Silicon-based Mac (macOSaarch64):
uname -m
Output:
arm64
uname -m
returns x86_64
, you're on an Intel-based Mac (64-bit).uname -m
returns arm64
, you're on an Apple Silicon-based Mac (ARM 64-bit).This method gives you a clear way to determine the architecture of your macOS system.