Added feature to look into system Registry for the Java Home Directory