title: 'java' is not recognized as an internal or external command, operable program or batch file
body: <p>I am using java 12.0.2, <code>JAVA_HOME</code> is set as <code>C:\Program Files\Java\jdk-12.0.2</code> and <code>PATH</code> is having <code>%JAVA_HOME%\bin</code>
  still when I try executing <code>java</code> command its giving me the error <code>'java' is not recognized as an internal or external command, operable program or batch file.</code>
  <br/>
  <code>java</code> and <code>javac</code> are part of <code>JRE</code> and <code>JDK 12</code> doesn't have <code>JRE</code> now, so how to setup this.
  please don't relate this issue with old questions, until java8 it's fine but its not working now in windows 10.
  <a href="https://i.stack.imgur.com/U1FDr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/U1FDr.png" alt="this is the JAVA_HOME" /></a></p>
  <p><a href="https://i.stack.imgur.com/x3h2A.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/x3h2A.png" alt="this is the Path entry" /></a></p>
  <p><a href="https://i.stack.imgur.com/G2qzP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/G2qzP.png" alt="command prompt still showing error" /></a></p>
  <p><a href="https://i.stack.imgur.com/0BNFA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0BNFA.png" alt="path screenshot" /></a></p>