Installing OpenJDK for Use With SOTI MobiControl

About this task

Note: Using OpenJDK 11.0.2 is an alternative option if you would prefer not to use Oracle JDK. If you already have Oracle JDK installed, you do not need to install OpenJDK as well.

To install OpenJDK for use with SOTI MobiControl:

Procedure

  1. Download OpenJDK 11.0.2 files from https://jdk.java.net/archive/.
  2. Unzip OpenJDK to a new local folder C:\JavaOpenJDK.
  3. Using Regedit, navigate to the HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment path.
  4. Update the following Windows Registry keys.
    • Select the JavaHome string and edit the path value to point to C:\JavaOpenJDK.
    • Select the CurrentVersion string and edit the value to be greater than or equal to 1.8.
    Note: If you have never installed Java, you may need to create additional components under the above keys.
  5. Optional: If you are upgrading from a previous version:
    1. At the Computer\HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8 path, add the RuntimeLib key and point it to the jvm.dll file, such as C:\JavaOpenJDK\jdk-11\bin\server\jvm.dll.
    2. Point the JavaHome key to the layer that contains the bin folder, such as C:\JavaOpenJDK\jdk-11 (instead of just C:\JavaOpenJDK.
    3. Run the installer again.