How to use adoptopenjdk for idx project

HOW TO USE ADOPT OPEN JDK FOR IDX PROJECT?

I RECENTLY CAME ACROSS THE JAVA WITH SPRINGBOOT PROJECT. NICE ONE . BUT , I AM BEGINNER I WANT TO USE BASIC PROGRAM JAVA INSTALLING. BUT REDHAT JAVA IS NOT WORKING FOR ME (ERROR IMAGE BELOW), I WANT TO TRY ADOPT OPEN JDK OF ECLIPSE FOUNDATION AS FREE OPEN SOURCE. HOW TO DO IT WITHOUT SPRINGBOOT ?

Try pkg.temurin-bin (or pkgs I forgot)