Allow setting Java's -Xmx through environment.