简体   繁体   中英

JPL for java\prolog

I'm interested in using JPL with java, but an error message is prompting like 'package jpl does not exist' while trying to compile the java program. How do i import jpl to java?

您需要先执行sudo apt-get install swi-prolog ,然后执行sudo apt-get install swi-prolog-java

You need to download the JPL package/s , then make it accessible to your class(I'm not exactly sure where to put it, but probably in the /lib of your java directory) . See here : http://www.swi-prolog.org/download/stable

More info: How to use JPL (bidirectional Java/Prolog interface) on windows?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM