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

后端 未结 3 1191
不知归路
不知归路 2021-01-04 00:58

I am trying to start a server using jre 10.0.1 64 bit. There is an obvious change in the settings for the JVM in windows start batch files. With the setting of -XX:+Us

3条回答
  •  执念已碎
    2021-01-04 01:18

    A follow up to Peter's answer, the flag is

    -XX:+UseG1GC
    

    as described at Oracle

提交回复
热议问题