Java version is 19, language level to sdk default, Gradle JVM also at jdk 19, but it still outputs this error.
PS D:Coding StuffJava ProjekteMinecraft Modsfabric-example-mod-1.19> ./gradlew genSources
FAILURE: Build failed with an exception.
* Where:
Build file 'D:Coding StuffJava ProjekteMinecraft Modsfabric-example-mod-1.19build.gradle' line: 2
* What went wrong:
An exception occurred applying plugin request [id: 'fabric-loom', version: '1.0-SNAPSHOT']
> Failed to apply plugin 'fabric-loom'.
> You are using an outdated version of Java (8). Java 17 or higher is required.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 621ms
New contributor
Silo mat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2