All Manuals > LispWorks® User Guide and Reference Manual > 39 The LW-JI Package

get-java-virtual-machine Function

Summary

If a Java virtual machine has started, return it.

Package

lw-ji

Signature

get-java-virtual-machine => java-virtual-machine

Values
java-virtual-machine
Description

The function 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.

See also

init-java-interface


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:46