|
JAVA: "no main classes found"??
I received a complete existing java game. All I have to do is compile and run it. It compiles fine, but every time I try to run it, it says "No main classes found". I tried running it from command prompt and with NetBeans. Same problem. The file is too long to post here, but there is a main function thats commented out and one comment line says:
"Can't run as an application since it use sound-related methods"
I'm not sure what to do. Now I'm wondering if I need to compile since there are already a .class file for each .java file. Any ideas? Thanks.
|