Monica Dogaru wrote:
> Hello,
> I am Monica Dogaru from Romania and my bachelor degree thesis project is Checkers game on J2ME with the computer player thinking in SWI-Prolog+Logtalk.
> I tried the JPL interface, but it is not working in J2ME due to the fact that it does not find java.util.Map :(
> Can you please help me solve this communication problem between SWI-Prolog and J2ME?
> I would greatly appreciate your help.
> Yours sincerely,
> Monica Dogaru
I'm not 100% on this, but I'm sure you won't be able to use JPL on a
J2ME device.
This is because JPL depends on the JNI (Java Native Interface) and
consequently requires SWI-Prolog to be compiled and installed natively
for the J2ME device you're using. I'd imagine this would either be
almost impossible, given current J2ME implementations or at the very
least be a huge technical challenge.
The most obvious way to do this, would be to run JPL/Swi on a server,
and communicate with it over a socket/http.
R.
_______________________________________________
SWI-Prolog mailing list
SWI-Prolog@...
https://mailbox.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog