How to virtualize Oracle Java 8u171 in SWV
There is some minor changes in Java 8u171 for SWV. Use the following cmd installscript: @echo off setlocal enableextensions @cd /d "%~dp0" REM The below command will look for and uninstall any previous Java 7 or 8 from the target machine REM wmic product where "name like 'Java 7%%' or name like 'Java 8%%'" call uninstall /nointeractive REM The first command will copy the Java configuration file to the target machine REM xcopy java.settings.cfg "C:\ProgramData\Oracle\Java\" /I /Q /R /Y > nul REM The following line will install the java software to the target computer REM Start /wait jre-8u171-windows-i586.exe INSTALLCFG=C:\ProgramData\Oracle\Java\java.settings.cfg /L C:\temp\jre-8u171.log Start /wait msiexec /i "%~dp0jre1.8.0_171.msi" NOSTARTMENU=1 JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0 WEB_JAVA=1 WEB_ANALYTICS=0 WEB_JAVA_SECURITY_LEVEL=H DISABLEADVTSHORTCUTS=1 ALLUSERS=1 /l*v c:\temp\java180_171.log /qr REM Delete javapath...