Am 11.02.2011 13:11, schrieb Bruno MG:
Hi everyone.

I'm developing a poker bot in Java for this year ACPC competition.
I like a lot pokersource but despite if the fact I folloew Dave's instructions to build pokersource.jar I didn't achieved it. I changed the important things on the code to make it work with the JDK 1.6, but I'm not familiar with JNI and I dont know what more things I need to change from the Makefile.
Does anyone have the pokersource.jar compiled to work with java 1.6?

Thank you very much
Bruno


_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users
Hello Bruno,
actually I've fixed the Java bindings and build process already some time ago. Because you were asking I updated the sources to the latest trunk version today.

here it is:
http://svn.gna.org/svn/pokersource/branches/poker-eval-java/

When building you only need to enable the java build with the flag "--enable-java"
e.g. ./configure --enable-java --prefix=/path/to/install/

if the build was successful you should find the file "pokersource.jar" in the java folder
from there run the junit tests with "make test"

This works for me on Ubuntu+OpenJDK 6 and Windows(MinGW)+Sun/OracleJDK 6
on Windows make sure the path of the java installation does not contain any spaces (as in "Program Files").

kind regards
Sascha
_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users

Reply via email to