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. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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.

14th Nov 2016, 8:06 PM
Jose J. Barajas
Jose J. Barajas - avatar
2 Answers
0
javac to compile ".java", java to execute your code
14th Nov 2016, 8:31 PM
Wanderlei Borges
Wanderlei Borges - avatar
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
14th Nov 2016, 8:44 PM
Miguel Barra
Miguel Barra - avatar