It is currently Tue Jun 18, 2013 7:37 am
Code won't compile? Found a bug? Post here!
when im using the PlayGame.jar to run my file I seem to have to be in the same directory to do it. that is if i go to /bin where my bot is stored i can use "java MyBot" to run it succesfully.
but if i try to run it from a different folder and give the path it doesnt work.
even "java ../bin/MyBot" doesnt work(i.e. go up one and back down).
anyone know why?
(i want to run a different version of my bot against itself from a diferent folder and my computer doesnt like jars, so this would be very useful to know)
- Posts: 7
- Joined: Tue Feb 09, 2010 8:02 pm
try something like
java -cp ../bin MyBot
- Posts: 13
- Joined: Mon Oct 18, 2010 7:11 pm
Locking as it's a duplicate post.
- Contest Organizer
- Posts: 271
- Joined: Sun Feb 07, 2010 1:59 am
Return to Technical Issues
Who is online
Users browsing this forum: No registered users and 1 guest