M1 Mac 上 System.getProperty(“os.arch") 的值? [英] Value of System.getProperty("os.arch") on M1 Mac?

查看:58
本文介绍了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?

基于这个猜测代码,>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") 的值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆