Java update deployment via Group Policy.

I need help to deploy Java new version/ Updates via Group Policy. Java every month releases a new version. I want to be able to keep all my computer with latest version.
My domain controller, all Windows 2012R2. Workstation, windows 8.1 Pro and Windows 10 Pro. I need an step by step procedure.
Thanks a lot.
Faustino RomeroIT Net SpecialistAsked:
Who is Participating?
yo_beeDirector of Information TechnologyCommented:
With Java 8.21 and higher you can use the EXE and some switches that will work.
I normally install both 32 & 64 Bit version.

Her is my batch file that I use:

"\\fileserver\Data\IT\_Release\Oracle_Java\jrei586.exe"  INSTALL_SILENT=Enable REMOVEOUTOFDATEJRES=1 

"\\fileserver\Data\IT\_Release\Oracle_Java\jrex64.exe" INSTALL_SILENT=Enable

Open in new window

Michael PfisterCommented:
Here is a description for Java 7, should work with Java 8 as well
Shaun VermaakTechnical Specialist/DeveloperCommented:
I would first copy the actual EXE to the computer with GPO file preference otherwise the EXE will execute over the network every time.
The process to copy file can be seen in this article

You might consider adding a preinstallation check
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Faustino RomeroIT Net SpecialistAuthor Commented:
Great. I am reviewing what is best for my environment. Get back to you guys. Thanks a lot.
Faustino RomeroIT Net SpecialistAuthor Commented:
LVL41. I am using PowerShell Script. The file is on a share folder. i will be using "Computer Configuration" to start script. correct?
Shaun VermaakTechnical Specialist/DeveloperCommented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.