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

Cannot start with alternate JVM due to JFR requirement

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 21w37a
    • Fix Version/s: 21w38a
    • Labels:
      None
    • Confirmation Status:
      Community Consensus
    • Category:
      (Unassigned)

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                CHK: