For Programmers: Free Programming Magazines  


Home > Archive > Prolog > October 2004 > Re: Interprolog, java and linux









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Interprolog, java and linux
sachin786

2004-10-06, 3:58 pm

Exception in thread "main" java.lang.UnsatisfiedLinkError: no xsb in
java.library.path

Hi guys.
I am combining java+SWI Prolog can anyone tell why this
error comes.. Plz. help me out


Renate Meijer

2004-10-06, 3:58 pm


"sachin786" <sachinsb@cse.iitb.ac.in> wrote in message
news:f6e3726c85364a29b9ff731ce1238974@lo
calhost.talkaboutprogramming.com...
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no xsb in
> java.library.path
>
> Hi guys.
> I am combining java+SWI Prolog can anyone tell why this
> error comes.. Plz. help me out


Without being a Java expert, it looks to me as if your Java runtime linker
is complaining. Perhaps you reference an undefined symbol? Used improper
link options? Wrong path?

From this, I cannot tell you more and the above is a mere hunch. No
guarantees. Perhaps you'd be better off asking this in a java newgroup.

Regards,

dandelion


Martin Kant

2004-10-06, 3:58 pm

sachin786 wrote:
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no xsb
> in java.library.path

When starting your Java program you have to add the path to the xsb
lib.
java -Djava.lirary.path=/path/to/XSB/config/i686-pc-linux-gnu/bin/

Ciao,
Martin
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com