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.
I have downloaded the 64 bit version of Java. You could download 32 bit or 64 bit based on your requirement.
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
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.
Wait for the information to be imported. Once you see it’s successful, click Next.
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
Complete the remaining steps and click Close.
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.
The Java app has been installed successfully.
[TS_VCSC_Info_Notice panel_type=”success” panel_icon=”ts-awesome-sun-o” panel_title=”Note” font_title_family=”Default:regular” font_content_family=”Default:regular” el_file1=””] 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.[/TS_VCSC_Info_Notice]
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.