jinu2IDCreated Friday, February 26th 2016 @ 04:41:59
Hi, I downloaded the source code for the Texas Holdem server and have been trying to get it to run with the starter bots.
I tried from the command line using:
java -cp bin com.theaigames.game.texasHoldem.TexasHoldem "java -cp /starterbot/bot/main.BotStarter" "java -cp /starterbot/bot/main.BotStarter" 2>err.txt 1>out.txt
from the project directory but am getting the following in err.txt:
Error: Could not find or load main class com.theaigames.game.texasHoldem.TexasHoldem
I also tried to run it in Eclipse using run configurations to add the arguments above. With Eclipse I get the following: http://pastebin.com/ZrVkA9JB
Any idea about what I may be doing wrong? I'm on a Windows 10 machine with java version "1.8.065" and javac 1.8.065 Thank you
DeveloperUpdated Friday, February 26th 2016 @ 09:00:10
From command line: have you compiled the project to a folder bin/ like described? Then you must run the command from the folder where the bin/ folder is in. For the starterbots you need to probably specify the complete path, like
java -cp C:/path/to/starterbot/bin main.BotStarterThe bot also needs to be compiled to a bin/ folder in this example.
jinu2IDCreated Friday, February 26th 2016 @ 19:39:56
Awesome, its working now. Thanks for the help!