title: Java -version shows old version of java
body: <p>I have JDK 1.7_51 and JRE 1.7.79 update. My JAVA_HOME is set to C:\Program Files\Java\jdk1.7.0_51 and JRE_HOME is set to C:\Program Files\Java\jre7(update 79) and PATH points to JDK 1.7_51/bin. </p>
  
  <p>Why does the java -version doesn't point to the java 7 79 update? it points java 7 update 51. It should ideally point to the JRE update 79.</p>