本文介绍了M1 Mac上System.getProperty("os.arch")的值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
System.getProperty("os.arch")
在运行JDK的 aarch64 端口的AppleSilicon/M1 Mac上返回什么值(例如, Liberica 端口),即不使用Rosetta2吗?
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?
基于这,我在猜它code> aarch64 .有人可以确认吗?
Based on this, I am guessing it's aarch64
. Can anyone confirm this?
谢谢.
推荐答案
确实是 aarch64
.至少它是来自Azul Zulu Java 11.
It is, indeed, aarch64
. At least it is from Azul Zulu Java 11.
这篇关于M1 Mac上System.getProperty("os.arch")的值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!