Closed gbbirkisson closed 2 years ago
What exactly does not work? Currently adoptium does not have mac arm64 support
Well, as it turns out, the JDK runs fine under rosetta on the new M1 macs.
Adoptium are working on providing native support, so we could do this when they do: https://github.com/adoptium/temurin-build/issues/1922
They have some builds already, not sure why they have not published them: https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk/job/jdk-mac-arm64-hotspot/
Some say Rosetta slows it down a bit. But maybe we don't need to rush at all with this issue. Nobody runs Mac M1 on servers (I hope) On dev - performance drop is unnoticeable
There already is an OpenJDK 11 build specifically for m1 Macs https://www.azul.com/downloads/?version=java-11-lts&os=macos&architecture=arm-64-bit&package=jdk which could be used just fine in XP.
We don't use Azul. We use Adoptium in our distro https://adoptium.net/ Adoptium does not provide mac arm64 binaries for Java 11 (yet?) Besides that Elasticsearch issues nasty warning on startup when run on arm-64, because there is no native jna library for that platform.
In #218 , since we use GraalVM we will introduce experimental support of arm64 (for Linux and MacOS)
Now we have these distros:
For the cli to work on the new arm64 macs we need another distro: