Value of System.getProperty("os.arch") on M1 Mac?

Viewed 1953

What value does System.getProperty("os.arch") return on an AppleSilicon/M1 Mac running the aarch64 port of the JDK (for example the Liberica port), i.e. not using Rosetta2?

Based on this, I am guessing it's aarch64. Can anyone confirm this?

Thanks.

1 Answers

It is, indeed, aarch64. At least it is from Azul Zulu Java 11.

Related