How to deploy Java using Configuration Manager

Welcome to the post that shows you how to deploy Java using Configuration Manager. In this post we will look at the steps for deploying Java using SCCM 1511. While writing this post, my configuration manager version is 1511. If you have configuration manager 2012 R2, you can still follow the same steps to deploy Java. When you download the Java installer, it’s an exe file. But there is a way to get the msi file. We will look at how to do that and deploy the Java using SCCM 1511. If you are not aware of what Java is, Java is a popular programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to data-centers, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere.

First we will download the Java offline installer. Click on the below link to download it.

Download Java 32/64 bit Offline

I have downloaded the 64 bit version of Java. You could download 32 bit or 64 bit based on your requirement.

How to deploy Java using Configuration Manager

Since the java software is downloaded as an exe file, we cannot extract an msi file out of it. To get the msi file you either need to install the java on one of the computer or you just need to run the executable(do not install it). When you install or run the executable, the msi file is found under the path %userprofile%>appdata>Locallow>Oracle>Java. Copy the java msi file to a shared folder.

How to deploy Java using Configuration Manager

How to deploy Java using Configuration Manager

Now we will see how to deploy java using Configuration Manager 1511. Launch the Configuration Manager console. Click on Software Library > Overview > Application Management. Right click Applications and click Create Application. In the create application wizard, choose Automatically detect information about this application from installation files. Provide the path where the msi file is located. Click Next.

How to deploy Java using Configuration Manager

Wait for the information to be imported. Once you see it’s successful, click Next.

How to deploy Java using Configuration Manager

Specify the information about the application such as Name, Publisher etc. For the Installation program, specify the command as

msiexec /i "jre1.8.0_71.msi" JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0 RebootYesNo=No WEB_JAVA=1 /q

Click Next.

How to deploy Java using Configuration Manager

Complete the remaining steps and click Close.

How to deploy Java using Configuration Manager

The Java application is ready to be deployed. Right click the Java app and click on Distribute Content. Once the content is distributed to the DP, right click the Java app and click on Deploy. Choose the device collection for which you want the Java to be deployed. In this case I have deployed the Java app to a test collection and made it available in the Software Center. You can see in the below screenshot that the Java app is available for Install. Click on Install.

How to deploy Java using Configuration Manager

The Java app has been installed successfully.

The Uninstall option also works fine. If you want to uninstall the Java app, just click on Uninstall. This option is tested and it works fine.

How to deploy Java using Configuration Manager

If the app fails to install, open the AppEnforce.log file and look for errors. In the below screenshot you can see the command line that we used to install Java worked perfectly fine.

How to deploy Java using Configuration Manager

24
Leave a Reply

avatar
15 Comment threads
9 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
newest oldest most voted
renoldrobin
Guest
renoldrobin

Hi,

How to Deploye JDK application through SCCM

TOTO JDD
Guest
TOTO JDD

Hello,

I wanted to know how to update Java once it has been deployed? Or, how to update non-Microsoft software with SCCM.

Ibrahem
Guest
Ibrahem

i need to update all client machines with the latest Version of java 8u162 but first i need to clean all java already installed, do you have any idea about it
i have used the below :
Task Sequences .
uninstall : wmic product where “name like ‘Java%%’ and not name like ‘Java 8 Update 162%%'” call uninstall /nointeractive

install Java 8u162 with Comment below :
@ECHO OFF
xcopy deployment.properties “C:\Windows\Sun\Java\Deployment\” /Y /Q /V
xcopy exception.sites “C:\Windows\Sun\Java\Deployment\” /Y /Q /V
jre-8u162-windows-i586.exe /s AUTO_UPDATE=Disable REMOVEOUTOFDATEJRES=1

Anto Sutrisno
Guest
Anto Sutrisno

Hi Prajwal,

I did follow your instruction above and works well to only users with admin right but not for standard user in Win 7 Pro.
Do you have any suggestion for standard users deployment?

Paul Travers
Guest
Paul Travers

How do you do this with Windows 10. I had no problems with finding the MSI file but now with Windows ten the folder does not show. Has anyone else ran into this issue?

David Crosby
Guest
David Crosby

Same here sir

Aussupport
Guest
Aussupport

HI,
I think above is different with update 121 ?

As

Luis Martinez
Guest
Luis Martinez

Hello, I followed the step-by-step guide and everything is perfect, I have doubts if this command uninstalls the previous versions of java ??

Meru Otonashi
Guest
Meru Otonashi

There is definitely something wrong with Java’s installers. We’re currently using Oracle’s Java Enterprise MSI files, trying to deploy Java 8 Update 102. Using a vbscript I developed that will elevate with UAC when needed, it runs perfect with an account with administrative privileges. I’ve given this package to my VDI administrator that tries to inject it in with an admin account, the installation fails. I try to push out the package via SCCM, it gives me error 1603 (and further investigation in the MSI log file, it gives an error 1722 when the MSI reaches Oracle’s custome action to… Read more »

Michael Yuen
Guest
Michael Yuen

the msi file does not run… I think it happens to the latest version of java, which they are trying to charge for msi files download.

Kuba K.
Guest
Kuba K.

Hi
I would like to ask you if there is any way to automatical uninstal older java version after launching automatical instalation of java. I Have an issue, because some comuters in my network have 4 or 5 javas on them. I was using your method to install newest java versions on all devices.

A. Jones
Guest
A. Jones

Have you tried this with update 77 & 91 at all? This method of deployment used to work, but with the last 2 releases when you grab the MSI it seems to be corrupted and will not execute. I have tested it from several machines. Wondering if anyone else is experiencing this issue?

Karol Starukiewicz
Guest
Karol Starukiewicz

Why did you remove my comment about parameters?

Jonathan
Guest
Jonathan

Have you tried deploying 32-bit Java to a 64-bit machine? I believe its broken.

Rob Scheinman
Guest
Rob Scheinman

In what regard? Do you get an installer error when manually testing the deployment? Also when deploying a new version of java I find it useful to do this with an install.cmd that also includes the removed of the last version of java deployed to the machines and a complete removal of all icons that are sun/ oracle related.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. AcceptRead More