View Single Post
  #48  
Old February 2nd, 2004, 05:44 PM
Saber Cherry's Avatar

Saber Cherry Saber Cherry is offline
Major General
 
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
Saber Cherry is on a distinguished road
Default Re: Combat Simulator Released!

Well - First off, you should have no .java files, only .class files. I assume you meant .class?

Second, Java is case sensitive. So typing
"java Fight militia wolf" is not the same as
"java fight militia wolf".

But if you actually get the "exception in main: noClassDefFoundError" type message, it means the file you tried to run does not exist, or is not runnable.

I can only imagine that you are not in the correct directory when you try to run the simulator... if you unzipped all the files to a directory, open a dos prompt, navigate to the directory, and type "dir *.class". You should see a bunch of .class files, including Fight.class and Matrix.class. Then "type java Fight blah blah" or "java Matrix blah blah blah blah", with the "blah"s replaced by unit names, and it will work if java is installed.

-Cherry
__________________
Cherry
Reply With Quote