mojira.dev
MC-232608

Cannot start server with alternate JVM because of Flight recorder requirement

Hi,

It is not possible to run the 21w37a snapshot on an alternate JVM (OpenJ9) that does not have the Java Flight Recorder included, as there seems to be a hard dependency. This was not the case in previous 1.17 versions.

Steps to reproduce:
1) Install OpenJ9 JVM
2) Start the 21w37a snapshot
3) The server does not start

Exception:

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

No crash report is created.

Linked issues

Comments 5

This report is invalid, as the 1.18 experimental snapshots are not supported on the bug tracker.

Thank you for your report!
However, this issue is Invalid.

We're currently not taking bug reports for the 1.18 experiment; it is for testing the new world generation only. Please leave any new world generation-related feedback on the reddit post or on the feedback website.

If you need help or support, you might like to follow a link below.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Asking for a re-open now that 21w37a has been released.

Thank you for your report!
We're resolving and linking this ticket forward as a duplicate of MC-236795, as that ticket contains more detailed information and/or has already been triaged by Mojang.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

azenet

(Unassigned)

Unconfirmed

(Unassigned)

21w37a

Retrieved