Windows updates/patches in the past 24 hours have upgraded Java on our Bamboo server from 1.8.0_191 to 1.8.0_201. I updated the JAVA_HOME environment variable on the server to reflect the new directory C:\Program Files\Java\jdk1.8.0_201 and restarted the Atlassian Bamboo Bamboo process. But the agent processes still will not start. They are failing with
Error: opening registry key 'Software\JavaSoft\Java Runtime Environment'
The error is not clear about where in the registry it expects to find that key. Looking in the registry, that key exists in HKEY_CURRENT_USER, but not in HKEY_LOCAL_MACHINE.
Is HKEY_CURRENT_USER where Bamboo expects to find that key? If not, does that suggest a problem with the Java update? Or is there a way to point Bamboo to a new location for that registry key?