Allow bootstrap from batch file
Escape quotes for Java versions below 7

See http://gluck-md.blogspot.com/2012/12/jdk7-surprise.html

fixes #1121