Guide for deploying Java Version 8 Update 391 jre1.8.0_391 on a network via Group Policies
Prepare Java 1.8.0_391 Files
Download Java Version 8 Update 361 jre-8u391-windows-i586.exe from http://www.java.com/en/download/manual.jsp (choose the offline installer - the 1.8.0_391 version is about 58.3MB)
Run jre-8u391-windows-i586.exe. When the installer stops at the first prompt, open the folder C:\Users\<username>\AppData\LocalLow\Oracle\Java\jre1.8.0_391
Note: An easy way to open this folder to to press start, type %temp% and press enter. This will open the temp folder for your user account. Go up two folders and click LocalLow to find the Oracle\Java folder you need.
Copy the file jre1.8.0_391.msi in this folder to a new folder.
Disable automatic updates to the Java 1.8.0_391 installation
Open the msi copied in the step above with Orca:
Create a new transform and make the following changes to the property table:
Change AUTOUPDATECHECK to 0
Change JAVAUPDATE to 0 - stops users being prompted to update Java
Save the transform in the folder with the MSI and CAB files, and close Orca.
Deploy Java 1.8.0_391 using Group Policies
Copy the .msi, .cab and .mst to your remote install shared folder
Deploy via Group policies as normal.
Check Java 1.8.0_391 installed successfully
Once deployed, you can test installation of Java by opening a command prompt and running:
java -version
You should see the following output similar to the following:
java version "1.8.0_391"
Java(TM) SE Runtime Environment (build 1.8.0_391-b11)
Java HotSpot(TM) Client VM (build 25.371-b11, mixed mode)