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

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -