Improve the jre home reg file.