title: Jenkins build failure:javac file not found
body: <p>I am quite a newbie in Jenkins so I was trying to build a java project which is in git local repository but It fails to build, the error being that it can't find the source file:</p>
  
  <p>D:\Apps\Jenkins\jobs\HelloWorld\workspace>javac HelloWorld.java 
       javac: file not found: HelloWorld.java</p>
  
  <p>I used the following  batch command</p>
  
  <pre><code>                   javac HelloWorld.java
                     java HelloWorld
  </code></pre>
  
  <p>The absolute path to HelloWord.java is D:\JenJava\JenkinTest\src\com\testing</p>
  
  <p>I used Eclipse to write the test program and my workspace is JenJava</p>
  
  <p>My guess is that it points to the wrong directory hence javac can't find the source file.I would like to know if that is not the problem what then should be done,if it is how to correct it?.
  Thanks in Advance</p>