Guide for deploying Java Version 8 Update 341 jre1.8.0_351 on a network via Group Policies
Prepare Java 1.8.0_351 Files
Download Java Version 8 Update 351 jre-8u351-windows-i586.exe from http://www.java.com/en/download/manual.jsp (choose the offline installer - the 1.8.0_351 version is about 73.4 MB)
Run jre-8u351-windows-i586.exe. When the installer stops at the first prompt, open the folder C:\Users\<username>\AppData\LocalLow\Oracle\Java\jre1.8.0_351
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_351.msi in this folder to a new folder.
Disable automatic updates to the Java 1.8.0_351 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_351 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_351 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:
jjava version "1.8.0_351"
Java(TM) SE Runtime Environment (build 1.8.0_351-b10)
Java HotSpot(TM) Client VM (build 25.351-b10, mixed mode)