Skip to content

Instantly share code, notes, and snippets.

View Esensats's full-sized avatar
🇰🇿
Working

Yessen Esensats

🇰🇿
Working
View GitHub Profile
@Esensats
Esensats / mcsr-java-settings-guide.md
Last active July 14, 2025 10:56 — forked from maskersss/mcsr-java-settings-guide.md
fix broken link to linux-mcsr

Picking a Java Runtime

Use Java 17-22. There isn't much difference between versions from 17 to 22. Java 23+ is not recommended because of Generational ZGC, see below.

Java runtimes from Adoptium, Oracle, Azul and so on are basically identical. If you don't know what to pick, I recommend the latest Adoptium Java 21 JDK: https://adoptium.net/

Some notable exceptions:

  • Oracle GraalVM features a more aggressive Java compiler. It seems to be worse at the start of the session, but then becomes faster than Adoptium; see the GraalVM section.