Fixed jre install for unattended installs closes #958