From command line download latest Java SE Runtime Environment 8 on Windows
问题 On a Windows server, I am looking for a robust way to download latest Java SE Runtimes from command-line . My requirement is to check if java is installed on the system. If java is not found, our MSI installer (created with WIX) need to connect oracle java download page and silently download java installer in the background and invoke the installer silently. Download option can be in VB script/PowerShell/batch/Java Installing java silently is easy with jre-8u121-windows-x64.exe /s option. I