Deploy Java 7 and Java 8 to Your Company Computers

java_logo_1An updated version of the post (Java 8 Update 31) is available here

Java 7 and 8 updated

Oracle has released Java 7 update 55 and Java 8 update 5. (Oracle is no longer providing GA support for the Java 6 family.)

Pro and Enterprise mode users of PDQ Deploy will notice that the Java updates are already in the Package Library. Lex walks you through using the Java packages from the Package Library in the video at the end of this article. (Basically, if you have access to the Package Library you won’t need to build your own Java package).

Create a PDQ Package to Deploy the Java JRE

PDQ Deploy Enterprise trial users can select three packages from the Package Library, select the pre-built Java package and save yourself some trouble. But even if you’re in Free mode but you can still use PDQ Deploy to push these updates to your computers, you’ll just need to create the packages. 

Download Java from java.com

Go to the manual download section for Java. It’s very important that you download the offline version. (The offline version has all the binaries included. The online version will start a download once the installation is started. PDQ Deploy requires the full version).

The file you download will be an EXE. It is recommended that you extract the MSI for the silent install. (PDQ can push out EXE’s, however there are some extra features you can use by running the MSI directly). 

Extract the MSI

java-splash-screenTo extract the MSI, simply double-click on the EXE that you downloaded from java.com. In this example the name is jre-7u55-windows-i586.exe. DO NOT PROCEED with the install wizard. By starting the wizard you have successfully extracted the MSI.

Open a window and go to %APPDATA%\..\LocalLow\Sun\Java. Go to the jre1.7.0_55 or jre1.8.0_05  folder depending on which version of Java you want to deploy.

Copy the folder (with all the CAB and MSI files) to your PDQ repository or to any other location on your computer (if you don’t know where your PDQ Repository is). Just don’t keep it in the LocalLow directory. 

Close your Java install wizard (just cancel it).

Create a new PDQ Deploy Package

With your MSI and CAB files in your repository or another location on your computer, open PDQ Deploy and create a new Package. Point the package to the EXE. Be sure to check the “Include Entire Directory” box. Then enter the parameters below.

The image below shows you the three areas that you need to enter info. NOTE: The other steps shown in the left pane are steps that we have researched and added to our package library to help make a clean install. Free versions of PDQ Deploy are not able to run multiple steps. If you are on a Pro trial you can create these steps if you wish. There’s quite a bit of research needed to remove older versions and kill browsers (recommended) but it’s all publicly available info. (Can you see why many of our customers prefer to use our Package Library? We do all that garbage for them.)

deploy-java-from-pdq

That’s it. You’re ready to roll. Remember that it’s recommended that you kill any Internet browsers before pushing out. You may see errors if you don’t do that. It’s an inconvenience to users, which is why you may want to consider scheduling the install to occur at night. (Scheduling is a Pro Mode feature).

Here’s a video of Lex demonstrating how to install Java silently. He did the easy method by using the Package Library which thousands of our Pro/Enterprise users have access to. To purchase a Pro or Enterprise license click here.

NOTE: Trials to PDQ Deploy are limited to three packages of your choosing. Purchase PDQ Deploy Pro or Enterprise mode for access to more packages. To see the different levels available to Pro and Enterprise, see our Package Library page.