technomancy/leiningen — pull request #781 by basicsensei (2012-09-13 01:01:41+00:00)
Title: use LEIN_JAVA_CMD in lein.bat just as in the bash script

just as @technomancy said in #774
if LEIN_JAVA_CMD is not set it will fall back to JAVA_CMD which in turn
if it's not set it will fall back to just "java" (without dbl.quotes)

One question: is the bash script also leaking environment variables such as `LEIN_VERSION` into the parent shell after first run ? (I could probably fix this in windows with a `SETLOCAL` if need be)