Using Eclipse on Windows 10, I am trying to build the Minecraft Forge MDK, but Gradle tells me it can only find Java 16. Everything was working fine a week ago.
I don't have Java 16 installed except it's default installed for Eclipse.
My JAVA_HOME path is set to
C:\Program Files\Java\jdk1.8.0_291\bin .
Java 8 is installed and the build path on Eclipse is set to
C:\Program Files (x86)\Java\jre1.8.0_291
Adding an org.gradle.java.home set to the same path as my JAVA_HOME returns an error saying there is no valid java home. I am unsure what to do.