update setenv to properly set JVM memory changes

this commit includes a modified version of the setenv.sh file, in the
original file the options for JVM memory are overrided so we can't set
it properly in the manifests.