You mentioned that Oracle made changes in the past, moving the "javapath" folder from C:\ProgramData to C:\Program Files (x86). You also observed that the install order of the 32-bit and 64-bit versions of Java may be important, as installing the 32-bit version after the 64-bit version caused the PATH variable to go missing.