fixed bin/setJavahomeFromCurrentJava.sh for getting current JAVA_HOME