hi well, it seems you have not set your classpath and if u did so check r u storing your file with a same name as of class as "test.java".sumtimes while working with notepad u have to store file with double quotes like "test.java" while saving because sumtimes if u store file as test.java in notepad then the filename might be taken up as test.java.txt...so keep this too in mind.
hope it solves your problem..all the best.. seema
Joined: Dec 10, 2001
As suggested above, I'd bet your CLASSPATH value could use changing. For an explanation of just what the CLASSPATH is, as well as for instructions on how to set it on different operating systems, take a look at our FAQ on HowToSetTheClasspath.