Updated `set_java_home` recipe for Windows

Updated the `set_java_home` recipe to set JAVA_HOME value on Windows.

The value is set as a global, system-wide property and not a user property.