FabricMC / fabric-example-mod

Example Fabric mod
Creative Commons Zero v1.0 Universal
1.67k stars 942 forks source link

I get this error when trying to get the minecraft code #238

Closed kaidacoder closed 1 year ago

kaidacoder commented 1 year ago

I am using IntelliJ community edition and whenever i use ./gradlew genSources it spits out this error

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.

and I have tried to run it as admin and i have changed the java version to 17 in IntelliJ but it still doesn't work does anyone know a fix?