I am trying to have JDK 8 run with cassandra 3.x in my dev-setup Mac with M1Pro Chip. Arm64 jdk-8 is currently unavailable currently.
-
see https://stackoverflow.com/questions/22524149/where-to-find-jdk-8-for-arm maybe – f1sh Jun 27 '22 at 09:35
-
1@f1sh There is no jdk-8 for mac arm64 in that page. – Sahil Ummer Jun 27 '22 at 09:41
4 Answers
Homebrew does not support OpenJDK@8 on Apple Silicon (M1/M2) but Zulu Community 8 is present as a cask. You just have to enable cask-versions repository and install zulu8 cask.
brew tap homebrew/cask-versions
brew install --cask zulu8
It will install the JDK in /Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home
. You should then configure your JAVA_HOME variable for development tools to use it.
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
Please note that Zulu Community 8 will only be supported until March 2026.

- 3,782
- 29
- 30
You can run Java for Intel Macs on Apple Silicon (ARM, Aarch64) via Rosetta 2.
But for maximum performance, obtain an implementation of Java 8 built for Apple Silicon Macs.
Arm64 jdk-8 is currently unavailable currently.
Not true.
You have a choice of vendors. I know Azul Systems provides such products. And others do as well. Try vendors providing JDK products, to see if they offer Java 8 on Apple Silicon Macs. Try vendors such as Pivotal, Microsoft, Amazon, SAP, BellSoft, Oracle, IBM, Red Hat, and more.

- 303,325
- 100
- 852
- 1,154
you can try the https://www.azul.com/downloads/. Install the arm version using sdkman.

- 29,069
- 61
- 260
- 539
Another option to have Java8
brew install adoptopenjdk8
or brew install --cask temurin8

- 1,484
- 2
- 19
- 25