Set JAVA_HOME on Windows in case a path is specified
Fixed Windows path issue
Fixed another Windows path problem
Merge branch 'pr49', pulled in PR that supports JAVA_HOME and proper file download checksums on Windows.