java home for JDK 1.8 can also be found in registry

Change-Id: I0179696962c300792f75bf41171514be3ddaa76e