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

This reverts commit 944b3bbaff90b52ff0c92a59ee2b5a40d67a590f.