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

java - HTTP Status 500 - An exception occurred processing JSP page /second.jsp at line 15 -

php - Using str_replace to translate a MySQL Table in html -

asp.net mvc - Cannot display error message on Editor or EditorFor -