2010-02-09 93 views
2

我已经建立了与安装下列这里说明我的Linux机器上都interprolog和SWI序言:Interprolog with SWI instructions on LinuxInterprolog和SWI-Prolog的

我已经编辑了unixVariables.sh包含Java和SWI-序言的路径(PL)我的机器上,我的unixVariables.sh看起来像可执行文件:

# This is a typical environment for Linux, see elsewhere for Mac OS X 
JAVA_BIN=/usr/lib/jvm/java-6-sun-1.6.0.16/bin 
XSB_BIN_DIRECTORY=/home/YOUR_NAME/XSB271/config/i686-pc-linux-gnu/bin 
SWI_BIN_DIRECTORY=/usr/local/bin 
YAP_BIN_DIRECTORY=/usr/bin 

现在,当我去做./runSWISPListener.sh在interprolog文件夹中,我得到的是:

./runSWISPListener.sh 
Welcome xx to InterProlog 2.1.2 on Java 1.6.0_16 (Sun Microsystems Inc.), Linux  2.6.28-11-generic 

现在没有其他事情发生,根据指示,java窗口应该弹出一个swiprolog引擎监听器。

任何人都可以帮助我吗?我知道它很抽象的,没有人真正使用interprolog但任何帮助表示赞赏 感谢

回答

0

我最终只使用XSB序言,工作得很好