get-java-virtual-machine returns the Java virtual machine if it has started. If LispWorks already knows what the virtual machine is, it just returns it. Otherwise, it tries to use the C function
JNI_GetCreatedJavaVMs to try to find it.
LispWorks User Guide and Reference Manual - 20 Sep 2017