OK - I am a newbie and I'm following "Head First Java". So I installed JDK 1.5 and added the bin directory to the path etc. I can compile my first piece of code (which, btw, is an example in the book called Party). The instructions in the book say to type the code, compile it and then run on the JVM. OK, code is compiled but no idea how to run on the JVM. The diagram in the book seems to indicate that the JVM should run the Party.class code if I type "java Party" at a command line prompt (I'm using Windows), but when I do that, all I get is "Exception in
thread "main" java.lang.NoClassDefFoundError: Party". I'm running the command from the directory in which my class file is located. What am I doing wrong?
[ August 16, 2005: Message edited by: Rita Chakras ]