Startup Issue with Minecraft - Up to date java is unrecognized

System Information

Field Value
Operating System Windows - Windows 11 Pro on x86_64
Product AMP ‘Phobos’ v2.6.4.2 (Mainline)
Virtualization None
Application Minecraft
Module MinecraftModule
Running in Container No
Current State Failed

Problem Description

Issue

Up-to-date java is unrecognized

Reproduction Steps

  • What do you mean step
  • what do you mean steps
  • what do you mean steps?

Steps are the steps you took to get to where you are now. Eg, you tried to use version X of Java for version Y of Minecraft.
For recent versions (1.20.5-1.21.11), you’ll need to use Java 21, but funny enough Oracle’s site will give you Java 8 by default, which you may have assumed is “up to date” (best guess with the information given).

Take a read through this post here on how to download the recommended Java build, and ensure you’re downloading the right Java runtime for the version of MC you plan to run.
https://discourse.cubecoders.com/t/amp-dependencies-java/3648