When attempting to upgrade AAI, the upgrade script states "The JAVA_HOME environment variable must point to a 1.8 JDK." and ends without upgrading.
A valid Java JDK or OpenJDK is installed and the JAVA_HOME variable is set, but it is still not being found.
Release : 6.4.2-1
Component : AUTOMIC AUTOMATION INTELLIGENCE ENGINE
The JAVA_HOME variable had a trailing backslash at the end of the path.
C:\>echo %JAVA_HOME%
C:\Program Files\AdoptOpenJDK\jdk-8.0.282.8-hotspot\
Removing the slash from the JAVA_HOME variable will allow the upgrade to run properly.