Q:

VM error while starting Wildfly (JBoss) server

I have wildfly-10.0.0.Final available with PATH variable set. I am using Ubuntu. Also I have jdk1.7.0_79. I am facing the problem that as when I am trying to start server that is executing standalone.sh then I am getting the error,
Unrecognized VM option 'MetaspaceSize=96M'

Error: Could not create the Java Virtual Machine.

Error: A fatal exception has occurred. Program will exit.

A:

Use jdk 1.8 instead of jdk 1.7. MetaspaceSize is a new flag added for Metaspace in jdk 1.8.

