How do I detect whether 32-bit Java is installed on x64 Windows, only looking at the filesystem and registry?

前端 未结 6 1694
执念已碎
执念已碎 2020-12-15 04:58

I need to determine whether a particular system has 32-bit Java installed. I\'m doing a remote query that only gives me access to the filesystem and registry, so I cannot a

6条回答
  •  一整个雨季
    2020-12-15 05:20

    If it is not Oracle's Java, you may not be able to tell. When I install Oracle Java 64-bit, the files go into C:\Program Files\Java, but when I install a 32-bit version, they default to C:\Program Files (x86)\Java instead. Of course, the person who installed Java could have overridden those defaults.

提交回复
热议问题