acutally the problem is on the classpath that is the JVM cant able to find the class before compling any java program you have to set classpath for the JVM in dos console
the command is c:>set classpath=%classpath%;.;
after giving this and type javac filename.java and run the java command
By
Arun
maild id:eeearun@gmail.com