How to set ant_opts in ubuntu

Edit ~/.bashrc

Open terminal and execute>

$ sudo gedit .bashrc



Above command open .bashrc file in edit mode.

Now add the below two lines:


ANT_OPTS="-Xmx1024m -XX:MaxPermSize=256m"
export ANT_OPTS


Now save the file and close terminal.


Enjoy......

Comments

Popular posts from this blog

How to find the companyId in Liferay.

How to add portlet in liferay theme.

How to enable cross origin in apache.