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

NextPrevUpTopContentsIndex

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

Arguments

None.

Values

java-virtual-machine

A java-vm-poi.

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 - 20 Sep 2017

NextPrevUpTopContentsIndex