Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to know if mac platform is macOSx64 or macOSaarch64

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

like image 401
Ivone Djaja Avatar asked Feb 01 '26 01:02

Ivone Djaja


2 Answers

About This Mac

  1. From the Apple icon menu, choose About This Mac.

  2. Look for the item Chip.

  3. If that item says M1, M2, M3, M4, or M5, then you have a Mac with Apple Silicon based on the ARM AArch64 architecture. Download your macOSaarch64 option.

  4. If that item says Intel, then you have the x64 chip architecture. Download your macOSx64 option.

[screenshot of About This Mac]

See Apple support page, Mac computers with Apple silicon.


Bonus tip: SDKMAN! is a clever utility that makes it quite easy to find, download, install, and uninstall a JDK.

SDKMAN! only lists JDK products from vendors who volunteer their product info. As I recall, that includes Amazon and their Corretto offerings.

like image 95
Basil Bourque Avatar answered Feb 02 '26 16:02

Basil Bourque


You can run the following command to get that

uname -a

Having x64 in there might give you a hint.

like image 35
cafebabe1991 Avatar answered Feb 02 '26 16:02

cafebabe1991



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!