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.
- Ensure you're using Prism version 9.0+. If not, you should update.
- Right-click the instance you’re using and select
Edit. - In the window that opens, go to
Settingson the left toolbar. - Check if the
Java installationoption is ticked. If it isn’t, tick it. - Click
Auto-detect:- 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). - If such a version exists, select it.
- If no suitable version is available:
- Exit out of
Auto-detectand clickDownload Java. - In the new window, untick
Recommended(bottom of the window). - Select
Java 21and clickDownload. - Repeat step 5 to select the downloaded version.
- Exit out of
- Finally, enable the
Skip Java compatibility checksoption in the instance Java settings.
Prism Launcher version 9.0 introduced the ability to download Java versions directly in the launcher. There's two layers of settings: Global Settings and Per Instance Settings.
- Global Settings: Apply to all instances that do not have an override enabled in their per instance settings.
- Per Instance Settings: Override global settings for that specific instance.
- When enabled, this setting makes Prism ignore global Java settings for instances without overrides. Instead, it selects a Java version based on the Minecraft version.
- For our use case, this is problematic. You’ll need to:
- Either disable
Auto-detect Java versionglobally, select the updated Java version globally, and disable per instance overrides. - OR, if you want it enabled for other instances, manually select the Java version in per instance settings (as shown in the quick tutorial).
- Either disable
