Of course, the easiest thing to do to silently install Java 8 Update 31 is to make use of the Package Library where pre-built, ready to install Java packages are available shown in the video below. However if you need to build your own installation package or want to customize your Java MSI from step one, keep reading.
First things first, you'll need to manually download the offline version of the Java EXE.
While you can silently install the EXE, the Java MSI is much easier to work with as it is silent without needing additional parameters. The easiest way to do this is to simply run the EXE but do not proceed through the install wizard. (Cancel right at the Welcome screen.) This will create a folder with MSI file that will be found under %APPDATA%\..\LocalLow\Sun\Java. ***Note: Java 7 produced a .cab file. Java 8 now bundles the files that were previously included in the .cab file into the actual MSI file***
To deploy using PDQ Deploy move this folder to your PDQ Repository (or another location on your computer).
When you open PDQ Deploy and create a new package you'll need to add an install step and include the path to the MSI here. Click Include Entire Directory and add the following parameters into the Parameters field:
JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0 RebootYesNo=No
Overall, save and deploy that and that should do it. However, a couple tips for a flawless installation.
You'll want to kill Internet browsers beforehand. Having Java running during a deployment of Java can corrupt Java.
Since this method is likely to interrupt your users on browsers, you may want to schedule this to deploy after hours. (If you
and get an
you'll have access to the