unless you made a typo, you compile a java source
file using: javac sourcefile.class (notice the 'c' at
the end of 'java_';<br>when you want to run the class
file: use java classfilename(the same as source)
'without an extension!' <br>Don't forget! However you
spelled the "PUBLIC CLASS 'filename' " inside of your
code, you MUST use the same to compile the program or
you will get an error! so, myprogram is not the same
as Myprogram! <br><br>This may seem rather trivial
to you, but there are always beginners that read
this information and are unaware of the above
information about java.