cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Yiping
Level 3

How to judge whether a system is 32 bit or 64 bit?

Could you give information about
how to judge whether a system is 32 bits or 64 bits?
Thanks.
Labels (1)
0 Kudos

(6) Replies
pv7721
Level 20

You've got Check Platform rules that you can put on your actions.
0 Kudos
Yiping
Level 3

but what you say checks only whether it is windows platform, not about whether it is 32 bit or 64 bit
0 Kudos
avudaithangam
Level 5

Check Architecture rules and you can put on your actions.

Regards
Avudaithangam
0 Kudos
Macintosh
Level 5

The Check platform or Check Architecture rule would be execute based upon the Java being used.

You may use WMIC command to get the system architecture or you can use Windows registry to get the output.

E.g.
wmic cpu get DataWidth


HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment\PROCESSOR_ARCHITECTURE
0 Kudos
cjutras
Level 3

PROCESSOR_ARCHITECTURE is also a standard windows system environment variable. You can access it using $lax.nl.env.PROCESSOR_ARCHITECTURE$.
0 Kudos
RobinY
Level 3

I have been told by Flexera support that check arch in Windows will return the bitness of the OS and not the JVM as you would normally expect from os.arch.
0 Kudos