title: JAVA_HOME variable is not recognized in Win 7 Pro 32 bit
body: <p>I have set JAVA_HOME system variable to <strong>C:\Program Files\Java\jdk1.6.0_30</strong> and added <strong>%JAVA_HOME%\bin</strong> to Path variable.</p>
  
  <p>When I check list of variables using new session of cmd I cannot see JAVA_HOME variable on the list at all, however Path variable contains record <strong>C:\Program Files\Java\jdk1.6.0_30\bin</strong>. </p>
  
  <p>When I want to run mvn I get:</p>
  
  <pre><code>ERROR: JAVA_HOME not found in your environment.
  Please set the JAVA_HOME variable in your environment to match the
  location of your Java installation
  </code></pre>
  
  <p>I double checked configuration, restarted the machine and the problem persists. </p>
  
  <p>Can you please advise? It looks like the variables are set, but JAVA_HOME does not make it to the list of variables, however value which derives from it makes it to the Path variable</p>