wrap JAVACMD with quotes in case of spaces in path

When `JAVACMD` contains a path with spaces (such as `C:\Program Files (x86)\Java\jre7\bin\java`), the `EXEC` line fails to run.

This fix simply wraps `%JAVACMD%` with quotes when `EXEC` is constructed.