title: How to Download Java and run a file on command line
body: <p>I know this is SUPER basic. I am very new to all of this. I tried to download java and run a helloworld by following these instructions: <a href="https://docs.oracle.com/javase/tutorial/getStarted/cupojava/win32.html" rel="nofollow noreferrer">https://docs.oracle.com/javase/tutorial/getStarted/cupojava/win32.html</a></p>
  
  <p>I got an error when I tried to use the "javac" command to compile. This is what appears in the command prompt:</p>
  
  <p>C:\Users\USer18\Desktop>javac HelloWorldApp.java</p>
  
  <p>'javac' is not recognized as an internal or external command, operable program or batch file.</p>
  
  <p>Does this mean I downloaded java incorrectly? When I downloaded it, there were 3 different things to choose from, but I could only choose one, so I chose the first one. I tried to download java again and select the second one, but it said it didn't work. </p>
  
  <p>Thanks in advance for helping me!</p>