Hi,
Due to JFR requirement, server cannot be started with OpenJ9.
I think this is a mistake, JFR should be optionnal and not required, since it's used for debug only.
Can you please consider making it optionnal ?
Here is exception log :
Exception in thread "main" java.lang.NoClassDefFoundError: jdk.jfr.FlightRecorder
at dn.<init>(SourceFile:208)
at xn.<init>(SourceFile:39)
at xn.a(SourceFile:88)
at net.minecraft.server.Main.main(SourceFile:162)
Caused by: java.lang.ClassNotFoundException: jdk.jfr.FlightRecorder
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:822)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:182)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:1106)
... 4 more
Linked issues
is duplicated by 1
Comments 2
Also duplicates MC-237233.
Can confirm (although this is technically a duplicate of MC-232608, which was invalid when created).
I expect this will not be changed for the snapshots, but I hope the full releases will not require JFR to be present in the JVM. Otherwise, the option to specify a custom JRE might as well be removed as there aren't many JVMs with JFR support (GraalVM is one of them).