Skip to content

Instantly share code, notes, and snippets.

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.
@maskersss
maskersss / helper.py
Last active August 30, 2024 20:24
A Python script providing some helpful utils for a SeedQueue instance
# Define the settings
# instance_path = r"C:\PrismLauncher\instances\seed q"
print_benchmark = True
# delete_all_saves = True
# print_mods = True
run_ahk_script = True
# Actual script
import os, shutil, re, hashlib, time, subprocess
@maskersss
maskersss / prism-java-update-guide.md
Last active October 28, 2025 19:25
Prism Java update guide

How to Update Java with Prism Launcher

This guide will walk you through the steps to update your Java version using Prism Launcher. There are two sections: a quick tutorial for those who just want it to work, and an explanation of how Prism Launcher manages Java settings.


Quick Tutorial: Getting It to Work

Visual walkthrough of the steps Use this image as a guide for the following steps.

Prism Launcher

Use this guide to update your Java version.

MultiMC

  • You can install the latest version of Java here. Download and run the .msi file if you're on Windows.
    • If prompted, it is recommended you install Java for all users.
  • After installing Java, follow the steps on the image below.
    • If the Java you installed doesn't show up, click Refresh on the bottom left in the Auto-detect menu.
image
@maskersss
maskersss / mcsrlauncher-java-update-guide.md
Created September 14, 2025 09:37
MCSR Launcher Java update guide

How to Update Java with MCSR Launcher

Visual walkthrough of the steps Use this image as a rough guide for the following steps.

  1. In the top toolbar, select Settings.
  2. In the window that opens, go to Java on the left toolbar.
  3. Click Change:
    • A window will pop up showing available Java versions.
  • Look at the left column (Version). You're looking for a version where the first number is between 17 and 22 (inclusive).