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