Using the latest Apache Commons Daemon 1.2.0 on a Windows machine with JDK 11, it fails to automatically find the jvm.dll file and throws the following error:
( javajni.c:227 ) [ 4588] Invalid RuntimeLib ''
I need to open the properties of the service and manually point it to the jvm.dll file in my JDK installation directory.
Is there a way I can set it to automatically find the file, when the service is installed? JDK 8 works like a charm.