1. See the error : Please set the environment variable ANT_OPTS to the recommended value of "-Xmx1024m -XX:MaxPermSize=512m".
2. It recommend you a value "-Xmx1024m -XX:MaxPermSize=512m"
3. Open terminal and execute
sudo nano .bashrc [open .bashrc file in edit mode]
4. Add this two lines at the end of the file
ANT_OPTS="-Xmx1024m -XX:MaxPermSize=512m"
export ANT_OPTS
5. Now save the file.
6. source .bashrc
Note:
Don't do that using "fish" or other terminal. Always use Ubuntu default terminal.
2. It recommend you a value "-Xmx1024m -XX:MaxPermSize=512m"
3. Open terminal and execute
sudo nano .bashrc [open .bashrc file in edit mode]
4. Add this two lines at the end of the file
ANT_OPTS="-Xmx1024m -XX:MaxPermSize=512m"
export ANT_OPTS
5. Now save the file.
6. source .bashrc
Note:
Don't do that using "fish" or other terminal. Always use Ubuntu default terminal.
Comments
Post a Comment