I had to do an "emergency deploy" of JRE 8u144 32bit on our Windows 7 64bit installations. I used powershell with psexec to let every single PC install Java with the following switches: jre-8u144-windows-i586.exe INSTALL_SILENT=1 AUTO_UPDATE=0 REBOOT=0 SPONSORS=0 REMOVEOUTOFDATEJRES=1
Somehow quite some of the installations don't work. JRE seems to be installed correctly, but when a JavaWs application is started I get the error "Cannot determine a valid Java Home". What does that mean and how can I fix it without reinstalling JRE everywhere (which probably would break working installations on other PCs, as JRE deletes a working 8u144 installation when rolled out again)?
Any help would really be appreciated as this issue is driving me nuts...