If SICStus is used as parent application, then 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 in the SICStus Prolog Manual.
When Jasper is used in runtime systems, additional constraints apply as
described in Runtime Systems
on Target Machines in the SICStus Prolog Manual. The Java to
SICStus interface relies on dynamically loading the SICStus runtime
system. For this reason, it is not possible to use
library(jasper) from an executable that links statically with the