开发者

JPL for java\prolog

开发者 https://www.devze.com 2023-04-07 11:30 出处:网络
I\'m interested in using JPL with java, but an error message is prompting lik开发者_开发问答e \'package jpl does not exist\' while trying to compile the java program. How do i import jpl to java?You n

I'm interested in using JPL with java, but an error message is prompting lik开发者_开发问答e 'package jpl does not exist' while trying to compile the java program. How do i import jpl to java?


You need to do sudo apt-get install swi-prolog and then 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?

0

精彩评论

暂无评论...
验证码 换一张
取 消