Fix problem with "java" being in a path that contains spaces in its name