JPL for java\prolog

2019-08-14 15:38发布

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?

标签: java prolog
2条回答
神经病院院长
2楼-- · 2019-08-14 16:17

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?

查看更多
再贱就再见
3楼-- · 2019-08-14 16:25

You need to do sudo apt-get install swi-prolog and then sudo apt-get install swi-prolog-java

查看更多
登录 后发表回答