Setting environment variables in OS X /etc/launchd.conf
- by al nik
I'm trying to set some env variable in OS X 10.6 (/etc/launchd.conf)
setenv M2_HOME /usr/share/maven
setenv M2 $M2_HOME/bin
setenv MAVEN_OPTS '-Xms256m -Xmx512m'
M2 and MAVEN_OPTS are not working.
I tried with something like
setenv MAVEN_OPTS -Xms256m\ -Xmx512m
but still it doesn't work. Any idea of what is the correct synthax?
Thanks