启动项中先配置

在VM options,添加: -XX:+UnlockCommercialFeatures。(没有配置此项,Run xxx with Java Flight Recorder启动会报错)

启动成功