How do you determine 32 or 64 bit architecture of Windows using Java?

后端 未结 9 2111
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-30 03:02

How do you determine 32 or 64 bit architecture of Windows using Java?

9条回答
  •  醉梦人生
    2020-11-30 03:30

    (Only for Windows) Check if C:\Windows\SysWOW64 exists. if the directory exist, it is a 64 bit process. Else, it is a 32 bit process.

提交回复
热议问题