Hi Lorylee
the problem maybe in your classpath or just path
i guess your compiler does not know where you put your program
1. make sure u save your files in the "bin" directory
i mean for example:
"save as" locate where you installed JDK. Typically, on "C drive" then "jdk1.4.1" then "bin" then "save"
2."start" then "run" then type "sysedit" then add:
set classpath=%classpath%;c:\jdk1.4.1\bin and then save your work.
3.
Test by going to dos prompt and typing "path"
you should see your path added......at least that's what i think.
N.B always save your programes with extension ".java"