title: javac: file not found: first.java Usage: javac <options> <source files>
body: <p>I have a filename named "first.java" saved on my desktop in notepad++. When I run the cmd command "javac first.java" it gives me this error.</p>
  
  <pre><code>javac: file not found: first.java 
  Usage: javac &lt;options&gt; &lt;source files&gt;
  </code></pre>
  
  <p>I know you are required to go to C:\Programfiles\java\jdk. </p>
  
  <p>and in my C:\Program Files\Java\ I have thesE folders</p>
  
  <p>"jdk1.8.0"
  "jre6"
  "jre8"</p>
  
  <p>In C:\Program Files (x86)\Java
  I have this folder<br>
  "jre6"</p>
  
  <p>The Environmental settings are as follows</p>
  
  <p><strong>CLASSPATH</strong><br>
  C:\Program Files\Java\jre8\bin<br>
  Variable name: LEJOS_NXT_JAVA_HOME<br>
  Variable value: C:\Program Files (x86)\Java\jdk1.6.0_21\bin</p>
  
  <p><strong>PATH</strong><br>
  Variable name: PATH<br>
  Variable value: C:\Program Files\Java\jdk1.8.0\bin</p>
  
  <p>Please tell me where I am going wrong.  I have read several posts on the Internet, and I can't figure it out.</p>