title: How can I solve the error : 'jar' is not recognized as an internal or external command, operable program or batch file?
body: <p>I'm getting the following error when I try to run the '<code>jar</code>' command in the command line on windows : <code>'jar' is not recognized as an internal or external command</code>.</p>
  
  <p>There is a general guess that seems to be right that is I might have the <code>PATH</code> environment variable incorrectly. But I have already done this, I added the following value to <code>PATH</code> variable : '<code>C:\Program Files(x86)\Java\jdk1.8.0_25\bin</code>'.</p>
  
  <p>I am running a 64 bit windows 8 system.
  I have also referenced this question from the following link:
  <a href="https://stackoverflow.com/questions/29180639/java-jar-is-not-recognized-as-an-[1]internal-or-external-command">java &#39;jar&#39; is not recognized as an internal or external command</a></p>
  
  <p>I have also tried some of the solutions suggested in the above link, I couldnt add a comment there since my reputation is not much.</p>
  
  <p>Suggestions that I have tried from the above link: </p>
  
  <p>[1]<a href="https://stackoverflow.com/a/29180681/7639034">https://stackoverflow.com/a/29180681/7639034</a></p>
  
  <p>(From the above link, java -version and java -jar are also working. What is wrong with the jar file then?)</p>
  
  <p>[2]<a href="https://stackoverflow.com/a/42492380/7639034">https://stackoverflow.com/a/42492380/7639034</a></p>