I saved the Example.java in the Documents folder, I used the cmd in the javac directory, but when running javac it does not find Example.java
I saved the Example.java in the Documents folder, I used the cmd in the javac directory, but when running javac it does not find Example.java
You should navigate to the folder where the file is, for example, in C: \ Project:
cd C:\Projeto
, then execute the command: javac Example.java
.