-
I am using Ubuntu 8.04 with swi-prolog 5.6.47-1. During installation i got error:
/usr/bin/ld: cannot find -lreadline
I had to install libreadline5-dev package.
I had to make that changes to rules.mk:
PL_HOME = /usr/lib/swi-prolog
CIFLAGS=-I. -I$(SRCROOTPATH)/include -I$(PL_HOME)/include -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/$(PLATFORM_INCLUDE)
LDLIBS =...
2008-11-09 23:02:10 UTC by ert_
-
f u d b.
2008-04-11 16:03:40 UTC by mrzk
-
I have a problem using it on Linux
when I use Java and call prolog it's all ok, but when i call java from
prolog i receive this error message:
test(X).
ERROR: jpl:jFindClass/2: Undefined procedure: jpl:jni_func/3
the code of test is the following:
:- use_module(library(jpl)).
test(V):-jpl_call('java.lang.System',currentTimeMillis,[],V).
Also the exmples give me the same error:(.
2008-04-10 17:37:29 UTC by mrzk
-
JPL is alive and well but has moved: it is now folded into the SWI-Prolog source tree and is bundled with all distributions: see http://www.swi-prolog.org.
2007-05-15 12:17:56 UTC by paulsingleton
-
Hi!
I'm using SWI Prolog 5.6.12
JDK 1.5 and JPL of course.
My problem is the following: a simple query as a consult for example trigger a big CPU use (100% in fact).
My code is vary close of that:
Query query = new Query("consult('test.pl')");
if ( !query.hasSolution() )
{
System.out.println( "consult('time.pl') failed" );
Does anybody have any idea?...
2006-07-20 10:18:11 UTC by achimoto
-
Hello,
in my Java application I want to restart the prolog engine and I tried to shut it down with jpl.JPL.halt() but that kills the whole application. Is it possible to do that without loosing the main application?.
2004-09-27 19:06:23 UTC by marbuer
-
Hi, I want to compile the jpl.dll, but the libp.a doesn't exist anymore.
2004-03-08 18:20:13 UTC by kantekantonio
-
Hi there,
I was just wondering whether anyone could help me
connect my userinterface in java to SWI-Prolog. I
figured out that I had to use JPL, but yet I don't
properly know how this works. I hope that someone
could tell me how I could connect my userinterface in
Java to SWI-Prolog.
I hope to hear from you.
Thanks
Niro.
2004-02-07 22:05:47 UTC by niro83
-
you need compile the .java in the jsrc directory. Use the
command make in linux. It will be create the .lib directory.
2003-10-05 03:39:14 UTC by nobody
-
I downloaded jpl-1.0.1.tar.gz, but the ./lib directory
containing the class files and jar files is missing.
Where can I get these files? Thanks.
e-mail: laurah@cs.vu.nl.
2003-08-02 14:12:04 UTC by nobody