Fixing JRE locations comparison