title: Setting default JRE version via batch file
body: <p>I have JRE 6 and JRE 7 both installed on my Windows 7 workstation. I want to set the default Java to JRE 6.</p>
  
  <p>I've tried setting the JAVA_HOME variable to  C:\Program Files (x86)\Java\JRE6\bin and I've also tried messing with the registry.... none of these are working for me</p>
  
  <p>I don't want to uninstall and i don't want to use the GUI control panal Java Console to disable JRE 7.</p>
  
  <p>I need to automate a way to set JRE 1.6 as the default java? </p>