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 run ofbiz as ubuntu Service.

JPA vs Spring JPA vs Spring Data JPA vs Hibernate

Java Array Interview Questions for Entry-Level Developers Part 01