天天看點

Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0

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:

Java 7

Java 8

是以這個警告正常

繼續閱讀