title: How to compile and run a simple java file in jenkins on Windows
body: <p>I have installed Jenkins on Windows and created a job in Jenkins. I want to compile and execute a simple java file (say Hello.java). How can I do that?</p>
  
  <p>My Hello.java contains the following code:</p>
  
  <pre><code>public class Hello {
      public static void main(String args[]){
          System.out.println("I'm dancing");
      }
  }
  </code></pre>