I have a filename named \"first.java\" saved on my desktop in notepad++. When I run the cmd command \"javac first.java\" it gives me this error.
javac: file
If this is the problem then go to the place where the javac is present and then type
It will work for sure.