c:\jv>javac check.java
check.java:3:ca nnot access String
bad class file:c:\jv\Stri ng.java
file does not contain class String
Please remove or make sure it appears in the current subdirectory of classpath

The above screen appears in command prompt while compiling the program instead of setting the classpath and path.

When I save the same program in any other folder and compile it then it...