Setting environment variables in OS X /etc/launchd.conf
Posted
by al nik
on Super User
See other posts from Super User
or by al nik
Published on 2010-05-30T15:12:28Z
Indexed on
2010/05/31
3:34 UTC
Read the original article
Hit count: 430
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
© Super User or respective owner