I’m trying to make a client using Eclipse, but when I try to build the files necessary it gives me this:
> Failed to setup Minecraft, java.lang.IllegalStateException: Minecraft 1.21 requires Java 21 but Gradle is using 17
I tried installing Java 21 incase I didn’t have it but still nothing. I also checked gradle.properties and build.gradle and settings.gradle and gradle.bat and gradlew but none of them held a obvious answer. Of course I could just be to tired to figure it out.