Install swi-prolog-java by entering the following commands in the terminal:
sudo apt update sudo apt install swi-prolog-java
Description:
Bidirectional interface between SWI-Prolog and Java
SWI-Prolog is a fast and powerful ISO/Edinburgh-style Prolog compiler with a rich set of built-in predicates. It offers a fast, robust and small environment which enables substantial applications to be developed with it. . SWI-Prolog additionally offers: . * A powerful module system * Garbage collection * Unicode character set handling * Unbounted integer and rational number arithmetic * Multithreading support * A powerful C/C++ interface * GNU Readline interface . This library provides JPL, a bidirectional interface between SWI-Prolog and the Java 2 runtime.
Homepage: http://www.swi-prolog.org
Version: 7.6.4+dfsg-1build1
Section: universe/interpreters