title: Need to execute a jar file using bat file
body: <p>Need to execute a runnable jar file in widows machine and dont know whether the system already installed java or not.In case if the java is not installed in the machine the bat file  has to install the java and then execute the jar file.The possibility may be like below.</p>
  
  <ol>
  <li>check the whether java installed in the machine or not</li>
  <li>If not installed install in the machine install the java and execute the jar file</li>
  <li>If already java installed in the machine run the jar file.</li>
  </ol>
  
  <p>Help  me to solve.</p>