The GUI installer provides an option to set the JAVA_HOME environment variable to the install folder. This option is unselected by default. We normally do unattended installs using msiexec's /quiet ...