I have downloaded a java developers kit for my 64bit windows 7, wrote down my code in the notepad, though the code is compiling from the command prompt and creating a .class fil
I used to get this error when I ran a Class file.
Try doing: java NameOfClass
java NameOfClass
You don't need the .java extension when running, but you need it for compiling. That was always the problem I used to have.
.java