How do I detect which kind of JRE is installed — 32bit vs. 64bit

前端 未结 9 1141
离开以前
离开以前 2020-11-27 03:47

During installation with an NSIS installer, I need to check which JRE (32bit vs 64bit) is installed on a system. I already know that I can check a system property \"su

9条回答
  •  暖寄归人
    2020-11-27 04:53

    If you have the path to the .exe you want to check, you can use this answer. Basically it just looks at the headers in the .exe file and tells you whether or not it is 64 or 32 bit on Windows.

提交回复
热议问题