Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-236795

Cannot start with alternate JVM due to JFR requirement

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 21w38a
    • 21w37a
    • None
    • Community Consensus
    • (Unassigned)

      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

            billy.sjoberg [Mojang] Billy Sjöberg
            arimav Jean-Baptiste
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: