# Deploy Oracle Java - How To ## How do I deploy JRE 8, JDK 8 and JDK 11 for Windows and MAC using Endpoint Central? ### Description When the user attempts to download the latest update of JDK / JRE, it requires the login credentials to download the installer file. So instead of downloading, the user can manually create a package for Java. This document provides you with steps required to deploy JRE 8, JDK 8 and JDK 11 for Windows and MAC using Endpoint Central (formerly known as Desktop Central). ### Steps To create a package for Java, follow the steps given below: 1. Click the *Software Deployment* tab. 2. In the *Packages* section, click on *Add Package* and choose the required platform: either Windows or MAC. 3. Enter your package details and select the *Package Type* as **EXE**. 4. Download the files of Oracle Java applications using the links given here: - [JRE 8](https://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html) - [JDK 8](https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) - [JDK 11](https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html) 5. Select **From Local Computer** and click on **Choose File** to upload the downloaded files. 6. Under the *Installation* tab specify the **Installation Command with Switches/Arguments** based on which application you wish to install. The silent switches for Java 8 & 11 are given below: - **JRE 8**: `/s REBOOT=Suppress REMOVEOUTOFDATEJRES=1` - **JDK 8 / JDK 11**: `/s REBOOT=Suppress` - **JRE 8 for MAC**: `installer -pkg "/Volumes/Java 8 Update 211/Java 8 Update 211.app/Contents/Resources/JavaAppletPlugin.pkg" -target /` - **JDK 8 / JDK 11 for MAC**: There aren't any switches to be specified for JDK MAC. It can directly be deployed as a configuration. 7. Once you complete filling in the package details click on *Add Package*. 8. Now your package for Oracle Java application is created. Click on *Action* and select **System Configuration** to deploy this package. Instead, you can also select the package which you've created -> click on *Install/Uninstall Software* -> choose to deploy as **Computer Configuration**. 9. After filling in the Configuration details, click **Deploy**. You've deployed the Oracle Java application.