title: 'keytool' is not recognized as an internal or external command
body: <p>I've created a small Android application using Ionic and I was going to build the signed apk to test the app.</p>
  
  <p>When I typed 'keytool' command in my command prompt I'm getting this error</p>
  
  <p><strong>'keytool' is not recognized as an internal or external command,
  operable program or batch file.</strong></p>
  
  <p>And I tried googling and all solved problems mentions that it's a problem with Path variable of JDK.
  I tried changing my <strong>'JAVA_HOME'</strong> variable value to <em>'C:\Program Files\Java\jdk1.8.0_131\bin'</em> and to 'C:\Program Files\Java\jre1.8.0_131\bin' and still getting the same error. </p>
  
  <p>But when I run the 'keytool' command it the cmd <em>'C:\Program Files\Java\jre1.8.0_131\bin'</em> location, it works. </p>
  
  <p>Can anyone help me with this ? What might be a problem that I can't access it globally ?</p>