Unrecognized VM option ‘UseParNewGC’ , Error: Could not create the Java Virtual Machine

As a follow up to Peter’s answer the flag is

-XX:+UseG1GC

as described at Oracle

Leave a Comment