title: javac not working in CMD
body: <p>I'm having a issue with compiling java from my Command Prompt. At first it was saying javac isn't a recognised internal or external command and by reading up I see you need to change the path and thats what I did exactly to...</p>
  
  <p>variable name: path</p>
  
  <p>variable value:%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%path%;C:\Program Files\Java\jre7\bin;</p>
  
  <p>I closed commpand prompt and attempted it again however the same issue came up.</p>
  
  <p>I then tried echo %path% and the entire path line was echoed(entire line in terms of that variable value)</p>
  
  <p>I also have tried "for %i in (javac.exe) do @echo %~$PATH:i" and that returns ECHO ON.</p>
  
  <p>I'm quite stumped and confused now. My javafile is in and named main.java however I am trying to compile it whilst in the javawork folder in CMD</p>
  
  <p>C:\Users\MYNAME\Documents\Javawork</p>
  
  <p>Thanks,</p>