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
- Download OpenJDK 11.0.2 files from https://jdk.java.net/archive/.
- Unzip OpenJDK to a new local folder C:\JavaOpenJDK.
- Using Regedit, navigate to the HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment path.
-
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. - Optional:
If you are upgrading from a previous version:
- 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.
- Point the JavaHome key to the layer that contains the bin folder, such as C:\JavaOpenJDK\jdk-11 (instead of just C:\JavaOpenJDK.
- Run the installer again.