Set your environment variable on your system
first, i.e. path=c:\;c:\jdk1.4\lib. Your problem is your
environment is not set. Once you write your java program and
get ready to save it, in the save box do
this..."MyJavaProgram.java" The emphasis here is to put what ever the program
name is in quotes("") before saving it. This will make
certain that it don't end up like
'MyJavaProgram.txt.java' With all this done, just go to the command line,
to the directory you saved the file and type javac
MyJavaProgram.java, after it compiles and return to the command
prompt, type java MyJavaProgram and the program should
run and you should be able to sleep.<br>So, your
solution should be (1)Set Environment variable and (2)Save
your files in Quotes("..java").