I hope this gets the space (and paren) encode vs. escape thing right.

Not sure we need JAVA_HOME set for anything bug maven, not sure this
sets it right.  We'll see.