Handle quotes around JAVA_CMD too