Software Deployment Tips – Java deployment
In our first Software Deployment Tips blog, we showed you how to deploy an update to Adobe Flash. Another product that needs lots of updates for various reasons, is Oracle Java (previously Sun). Java is one of those little babies that keeps growing during life, and good management will make this the child that you CAN control.
In this second Software Deployment Tips blog, we will show you how the trick for easy Java deployment.
Step 1 of the Java deploymeny
Download the offline installer software from Oracle here. This wil download a file called jre-8u65-windows-i586.exe.
Place the download on your application share, in our example:\app.localrootApplicationsOracleJavaRE8u65
Run the executable from the share by double clicking it. Click Run.
Leave the dialog running and browse to the following location:C:Users%username%AppDataLocalLowOracleJavajre1.8.0_65
Copy the MSI that resides there to your application share, in our case:\app.localrootApplicationsOracleJavaRE8u65
Select Add one or more installation item(s). Click Next. Note: If the above dialog is not displayed, right click Installation Items and select New Installation Item:
Select Windows Installer and click Next.
Since Java is middleware we like to install this on OS startup for allcomputers. We choose to do this for various reasons like zero-day patches, you want it to be loaded before users start browsing the internet.
Select Computer Based. Click Next.
Select the Java MSI. Click Open.
Click Edit Install Commands.
Select the row beneath Install Commands. Click Edit.
Change the current command to: MsiExec.exe /i “jre1.8.0_65.msi” JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0 ALLUSERS=2 REBOOT=ReallySuppress /qn /L*v “%TEMP%Install Java 8 Update 65.log”
Click OK twice.
Click Deployment Options.
Change the installation to: Start at OS Startup (System). Click Availability Options.
Here just select Membership passed for everyone, when you select this ALLagents will get the software, if you want to filter this you can select a group of agents or perhaps filter on OS version.
We want to allow this version only on our 64-bit OS versions, so we de-selectx86 (32-bit Operating System). Click OK.
Click Save and Deploy.
Now, click Yes.
Click OK. Now all the machines in your network will get the new Java version. That was pretty easy Java deployment, right! 🙂
This blog was originally posted on Medium.
Software Deployment Tips is a recurring blog series about current news in the software/app world.
Each time we will handle a situation, which is important and relevant at that time, and we will show you how to quickly take care of it using Easy Software Deployment.
Written by Frank van Hoolwerff, our Senior Technical Consultant.