Fixed JAVA_HOME problem in git bash for windows

When the JAVA_HOME is used, the $JAVA variable had the following value:
__"C:\Program Files\Java\jre7/bin/java"__


The only way i found to solve this just on windows was using the java from the PATH