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