Installing Oracle JDK or OpenJDK

Installing Oracle JDK for Use With SOTI MobiControl

About this task

Note: Oracle JDK requires an Oracle account.

To install and configure Oracle JDK for use with SOTI MobiControl:

Procedure

  1. Download the latest release of Oracle JDK 11.
  2. Run the setup file.
  3. To verify that the installation was successful, run the java -version command.

    The command output should be as follows:

    
    java version "11.0.9" 2020-10-20 LTS
    Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
    Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
    This confirms OracleJDK is installed properly
    					

Installing OpenJDK for Use With SOTI MobiControl

About this task

Note: OpenJDK 11.0.2 is an alternative to Oracle JDK. If you already have Oracle JDK installed, you do not need to install OpenJDK as well.

To install and configure OpenJDK for use with SOTI MobiControl:

Procedure

  1. Download the latest release of OpenJDK 11.
  2. Unzip OpenJDK to a new local folder C:\Program Files\JavaOpenJDK.
  3. Set the JAVA_HOMEenvironment variable:
    1. In the Windows start menu, search for and select Edit the System Environment Variables.
    2. On the Advanced tab of the System Properties dialog box that opens, click Environment Variables.
    3. In the Environment Variables dialog box that opens, click New under System Variables.
    4. In the New System Variable dialog box that opens, enter "JAVA_HOME" in the Variable Name field. Enter the path to your Java JDK directory in the Variable Value field; for example, C:\Program Files\JavaOpenJDK\openjdk-11.0.9.1-1. Click OK.
  4. Verify the JAVA_HOME setup:
    1. Open the command prompt.
    2. Run the echo %JAVA_HOME% command.
    3. Check that the above command prints the value of the JAVA_HOME environment variable.