Setting MaxPermSize is a fatal exception?

Kasper Sørensen at
Tue Nov 4 09:57:50 UTC 2014

Hi all,

I am trying out the latest build on the Apache MetaModel project. I had
locally set my MAVEN_OPTS to include a "-XX:MaxPermSize=512m" flag.
Apparently this crashes JDK 9 with a fatal error ... Is that really
intentional? Seems a bit strict - I notice in JDK 8 there's a warning which
is fine.

C:\Program Files\Java\jdk1.9.0\bin>java %MAVEN_OPTS%
Unrecognized VM option 'MaxPermSize=512m'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Best regards,
Kasper Sørensen

More information about the adoption-discuss mailing list