Fixed calling java tools with paths that contains whitespaces