Handle spaces in JAVA_HOME
Cygwin friendly ps call