title: When Running javac and javah in cmd, it shows javac: file not found
body: <p>I'm trying to run my java simple which can print "111" in eclipse IDE but when I'm trying to run it in CMD, it show error like:</p>
  
  <pre><code>javac: file not found: testdll.java
  Usage: javac &lt;options&gt; &lt;source files&gt;
  use -help for a list of possible options
  </code></pre>
  
  <p>But I already cd to this path:</p>
  
  <pre><code>C:\Users\user\Documents\elipseworkspace\testdll\src&gt;javac testdll.java
  </code></pre>
  
  <p>My .java file path is:</p>
  
  <pre><code>C:\Users\user\Documents\elipseworkspace\testdll\src\testdll.java`
  </code></pre>
  
  <p>.class file is :</p>
  
  <pre><code>C:\Users\user\Documents\elipseworkspace\testdll\bin\testdll.class`
  </code></pre>
  
  <p>When I'm running java -version it shows:</p>
  
  <pre><code>java version "1.8.0_40"
  Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
  Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
  </code></pre>
  
  <p>When I'm running javac -version:</p>
  
  <pre><code>javac 1.8.0_40
  </code></pre>
  
  <p>When I'm running echo %path%:</p>
  
  <pre><code>C:\Program Files\Java\jdk1.8.0_40\bin;
  C:\Program Files\Java\jdk1.8.0_40\jre\bin;
  </code></pre>
  
  <p>I've searched many pages about this problem but it doesn't work with my issue.
  I'm not sure what the reason. Can anybody can help me? Thank you very much!</p>