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