tags:

views:

117

answers:

3

Hello guys, I have set up and installed both interprolog and swi prolog on my linux machine following the instructions here :Interprolog with SWI instructions on Linux

I have edited the unixVariables.sh to contain the path of java and swi-prolog(pl) executables on my machine and that my unixVariables.sh looks like:

# 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

Now when I go to do ./runSWISPListener.sh in the interprolog folder, all i get is this:

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

and now nothing else happens, where as according to the instructions a java window should popup with a swiprolog engine listener.

can anyone help me? I know its quite abstract and no one really uses interprolog but any help is appreciated thanks

A: 

Hi, I have the same problem now. Have you solved it? And how? Thanks!!!

Michele

Michele
Hi, eventually I ditched trying to use SWI with Unix. I set up interprolog with XSB prolog on windows, and it works fine!
KP65
A: 

i ended up just using XSB prolog, worked fine

KP65
A: 

SWI-Prolog and Yap Prolog support JPL (Java-to-Prolog interface); you may want to use it: http://www.swi-prolog.org/packages/jpl/java_api/index.html