New To Java

I've just installed java 5.0 on windows 2000 professional sp4, when I try to complile my program i get the following error ...java.lang.NoClassDefFoundError: myprogram.java

Is this a problem with my configuration, installation, or path? Please help I am trying to learn Java on my own. Thanks!

[314 byte] By [calibuga] at [2007-10-1 2:27:16]
# 1
were u trying to compile or run the program?coz usually it happens when the jvm can't find the corresponding class.
cerebelluma at 2007-7-8 11:35:24 > top of Java-index,Java Essentials,New To Java Technology Archive...
# 2
to compile you use the program javaciejavac myprogram.javanotjava myprogram.java
evnafetsa at 2007-7-8 11:35:24 > top of Java-index,Java Essentials,New To Java Technology Archive...