-1

I want to make use of the poker-eval library. I heard that it's very used in C. In this link.

i see that it has a java folder. Is it possible for me write a Java program that uses this library? How would i go about doing that?

I tried to go to java/org/pokersource/ and run the .java files with javac but with every one of them i get errors saying

error: cannot find symbol

What's wrong?

MWiesner
  • 8,868
  • 11
  • 36
  • 70
vanmarcke
  • 133
  • 1
  • 1
  • 7

1 Answers1

0

It would probably help if you would give the exact commands you issue and the exact errors you get, especially what is not found.

But I guess you just did not add the dependencies to the classpath. Maybe you should read the readme of the repo? https://github.com/v2k/poker-eval/blob/master/WHATS-HERE.Java

Vampire
  • 35,631
  • 4
  • 76
  • 102
  • I added the last 3 to the CLASSPATH where can i find java/pokersource.jar? – vanmarcke Jan 03 '17 at 17:50
  • I guess that is what the build produces. There is a makefile, that is similar to Gradle / Ant / Maven, just mainly for C programs. – Vampire Jan 03 '17 at 21:33