On Windows it seems the nlserver is purely using registry key when
trying to locate JVM on the disk. It is not using JAVA_HOME, PATH or any
other method you may be used from other Java process launchers.
Specifially nlserver looks in registry location HKLM\Software\JavaSoft
in order to find a JVM. Setting this registry key is not part of the
Java standard; it was/is a proprietary thingy done by Oracle's Java
installer. The consequence is that if you use any other Java
distribution than Oracle's ...