Setting MAVEN_OPTS in Linux
If you want to set the MAVEN_OPTS in Linux permanently, you can do it like below Add below line to ~/.profile
1 |
export MAVEN_OPTS="-Xmx1g -XX:MaxPermSize=400m" |
They you need to logout and login again.
A blog about Java. Examples for Java design patterns, Java core examples, web frameworks.
If you want to set the MAVEN_OPTS in Linux permanently, you can do it like below Add below line to ~/.profile
1 |
export MAVEN_OPTS="-Xmx1g -XX:MaxPermSize=400m" |
They you need to logout and login again.