0

Warning:OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0

1 Answers1

1

From Migration Guide JDK 8 to JDK 11 says that in Java 8, Java 9 or Later. the MaxPermSize or PermSize flag has been removed from Hotspot Heap GC Option and was moved to native memory.

Removed Permanent Generation

The permanent generation was removed in JDK 8, and the related VM options cause a warning to be printed. You should remove these options from your scripts:

  • XX:MaxPermSize=size
  • XX:PermSize=size

In JDK 9 and later releases, the JVM displays a warning like this:

Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0

Tools that are aware of the permanent generation may have to be updated.

Or

you can try remove that message using a Environment variable in .bashrc :

MAVEN_OPTS -Xmx512m

Hope this helps.