Blog on Microsoft and Other Technologies.

How to deploy Java using Configuration Manager

19 25,081

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

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