enter image description hereim trying to install JDK 17.0.1 and I don't have any java installed in my computer like other versions of JDK and java runtime. Im using macOS Monterey. my CPU is I5 and I have a Mac book 2020 and 13 inches. more info: MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports) processer: 2 GHz Quad-Core Intel Core i5 memory: 16 GB 3733 MHz LPDDR4X Graphics: Intel Iris Plus Graphics 1536 MB
In my case, I downloaded the Arm 64 DMG Installer, the architecture of which does not work on my mac. Downloading the x64 DMG Installer (the final option) was the right choice.
Use an installer for Intel Macs rather than Apple Silicon Macs.
Certainly Java 17 will run on your computer.
I am not sure, but I would make this guess as to the root of your problem… I suspect you downloaded an installer for the Apple Silicon Macs, rather than for Macs with Intel chips.
Go to any of the several vendors providing JDK products. Some are free-of-cost, some require a fee. Be sure to understand their terms before downloading.
Those vendors include, off the top of my head: Azul Systems, Adoptium (formerly AdoptOpenJDK), BellSoft, Amazon, Red Hat/IBM, Microsoft, Oracle, SAP, Pivotal, and likely more.
On their respective download page, be sure to opt for the edition labeled "Intel", "x86", "AMD-64", or some such to indicate Macs with Intel chips.
Do not download any edition labeled "Apple Silicon", "ARM", or "AArch-64", as these indicate the Macs with M1 chips.
Here is an example screenshot from Adoptium web site for their Temurin product, an installer of a JDK implementing Java 17 based on the source code at the OpenJDK project.

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