I am trying to get the path of a Java JDK installation from the registry to set the JAVA_HOME environment variable. The JDK is 64Bit and I checked "Search the 64-bit porion of the registry". The correct 64bit tree was chosen however the Key Selecter does not go beyond a specific key
Code: Select all
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit
Code: Select all
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.7
So how can I get the value of
Code: Select all
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.7\
"JavaHome"