How can I patch both x86 and x64 versions of Java on an x64bit machine?
Our machines need both the x64 version of Java and the x86 version so Java can be used in both versions of the browser on our Win 7 x64 machines.
Trouble is, that kace detects a java install in the following way.
which is OK, but we don't want our install labels checking on version number, we only want to check if Java is installed for x86 or x64.
So we use custom inventory to check if 64bit reg key is there and c:\program files\Java\jre\bin\java.exe exists.
For 32bit we do the same but checking on c:\program files(x86)\java\jre\bin\java.exe.
This works great and our new imaged machines deploy both java versions and everything runs flawlessly. However a patch task on Java seems to upgrade the 64bit version, remove the 32bit version and not delete the 32bit files.
The net result is that 64 gets upgraded and the machine is left with no 32bit install. However it also leaves the files behind. So our custom inventory item still thinks 32bit is installed and no new install of 32bit is performed.
In short, patching Java removes the 32bit version from the system, which is bad.
How are other people addressing this?