使用Java找出系统架构 [英] Finding out sytem architecture using Java

查看:33
本文介绍了使用Java找出系统架构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 Java 找出系统架构并且我已经尝试过:

I'm trying to find out the system architecture using Java and I've tried out:

operatingSystemMXBean.getArch()

String sys1=System.getProperty("sun.arch.data.model")

但是当我使用 Intel 64 位处理器时,我得到 amd64.

but I get amd64 when I'm using an Intel 64 bit processor.

我在 Wiki 上阅读了这篇文章来澄清我的概念.我错过了什么吗?另外,我怎样才能使用 Java 获得实际的系统架构,以便我得到一个说 Intel 64 的输出?谢谢!

I've read this article on Wiki to clear up my concepts. Am I missing something? Also, how can I get the actual System architecture using Java so that I get an output saying Intel 64? Thanks!

推荐答案

英特尔 64 位处理器使用 amd 架构.这就是为什么许多系统注意到 amd64 的替代同义词是 x64 或 x86-64.

Intel 64-Bit-Processors use the amd-architecture. That's why many systems note that as amd64, the alternative synonym is x64 or x86-64 for both.

这篇关于使用Java找出系统架构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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