6.2.3 Running Java from SICStus

If SICStus is used as parent application, things are usually really simple. Just execute the query

     | ?- use_module(library(jasper)).

After that, it is possible to perform meta-calls as described in Jasper Library Predicates.

When Jasper is used in run-time systems, additional constraints apply as described in Runtime Systems on Target Machines. The Java to SICStus interface relies on dynamically loading the SICStus run-time system. For this reason, it is not possible to use library(jasper) from an executable that links statically with the SICStus run-time.