java - Setting up Ant home in Ubuntu -
i have installed apache ant , now, trying set ant_home variable on ubuntu os , according forums , solution founds in internet, there should require edit .bash_profile file in root directory follows:
ant_home=/apache-install-dir/apache-ant-version ant_opts="-xms256m -xmx512m" path=$path:$home/bin:$ant_home/bin export ant_home ant_opts path
but unfortunately haven't found .bash_profile in machine's root directory.
so, on situation should exact solution problem, suggestion please please provide me, in advance.
if users can use ant, put config in /etc/environment
for per-user setting, put ~/.profile
Comments
Post a Comment