0
Not really a question, more like an observation. Typing JAVAC didn't work for me. What did work was typing JAVA in the command prompt.
2 Answers
0
javac to compile ".java", java to execute your code
0
Add PATH to "Environment Variables..." on "System Properties" by right clicking on "My Computer"
In my case the path is:
C:\Program Files\Java\jdk1.8.0_112\bin
jdk1.8.0_112 = Java's version