Try to get around this error: env: -Xmx500m: No such file or directory