get path to JRE from registry