Fixed JAVA_HOME problem in git bash for windows where the path come with backslash.
Fixed a locale problem with printf