integrating SWI-Prolog in J2ME

View: New views
3 Messages — Rating Filter:   Alert me  

integrating SWI-Prolog in J2ME

by Monica Dogaru :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


     
_______________________________________________
SWI-Prolog mailing list
SWI-Prolog@...
https://mailbox.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog

Re: integrating SWI-Prolog in J2ME

by Jean-Marc Vanel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Monica,
I saw your message on the newsgroup.

I would add a jar containing the Collection classes.
You should find that on sun.com .

JMV

2008/5/29 Monica Dogaru <mon_bombon@...>:

> 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
>
>
>
> _______________________________________________
> SWI-Prolog mailing list
> SWI-Prolog@...
> https://mailbox.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog
>



--
Jean-Marc Vanel
http://jmvanel.free.fr/
06 89 16 29 52
_______________________________________________
SWI-Prolog mailing list
SWI-Prolog@...
https://mailbox.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog

Re: integrating SWI-Prolog in J2ME

by Rick Moynihan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
LightInTheBox - Buy quality products at wholesale price