Posted By: Anonymous
When building a Java 8 project with Maven:
mvn clean package
I get this message:
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
How to remove this message?
Compatibility Guide for JDK 8 says that in Java 8 the command line flag
MaxPermSize has been removed. The reason is that the permanent generation was removed from the hotspot heap and was moved to native memory.
So in order to remove this message
edit MAVEN_OPTS Environment User Variable:
MAVEN_OPTS -Xmx512m -XX:MaxPermSize=128m