I have JRE 6 and JRE 7 both installed on my Windows 7 workstation. I want to set the default Java to JRE 6.
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
I don't want to uninstall and i don't want to use the GUI control panal Java Console to disable JRE 7.
I need to automate a way to set JRE 1.6 as the default java?
\HKLM\SOFTWARE\Wow6432\JavaSoft\Java Runtime Environment\CurrentVersionand you just need to set the version ot 1.7