Mario in java
I have downloaded a public source of mario game from the official website of mario ai competition 2010.
And when I tried to run the game, it pops out some error as below:
Does this mean that I have some missing libraries that yet to be installed into my java compiler?
I think I figured it out
I saw your post and decided to give the Mario AI 2010 script a try. I was able to get it to run successfully, but only after placing it in a directory that is in my classpath. I have a directory called C:\javadev\java in my ClassPath environment variable. I copied the MarioAI folder to that folder, and then went to the C:\javadev\java\MarioAI\bin directory and ran the following command:
If this isn't done that way I described (meaning the MarioAI folder must either be in your ClassPath, or in as a subdirectory in a ClassPath folder) I don't believe it will work because it can't find the other classes it needs to run. Please let me know if this works for you, the program is really cool!
Did that download page not contain about the application setup instructions?
In the instructions were on the download page for how to execute the program, but they never explained that the files should be contained under a folder specified in your ClassPath environment variable. That was the part I had to figure out, but the program worked fine after that. Did you try to run it again?
Then why don't you post an article there, if you they allowed, about the configuration. I think there must explanation about the configurations as well, since it's not works fine at once, isn't it?
Originally Posted by DerekRaimann
I haven't posted on the site yet, but I surely will. Perhaps they included the instructions somewhere else or assumed people would be placing the folder of files in one of their ClassPath folders, however assumptions are always bad to make! ;) I will make a post on their site and let them know.
Yeah, building applications on top of the assumption is really bad.