2010-02-09 94 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序言,工作得很好