FabricMC / fabric-example-mod

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

build.gradle java version error when running #192

Closed lolhol closed 2 years ago

lolhol commented 2 years ago

how 2 fix?

Could not run phased build action using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-7.4-bin.zip'.
org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project 'brigero-muds'.
A problem occurred configuring root project 'brigero-muds'.
Build file 'C:\Users\kk\Downloads\fabric\brigero-muds\build.gradle' line: 2
An exception occurred applying plugin request [id: 'fabric-loom', version: '0.12-SNAPSHOT']
Failed to apply plugin 'fabric-loom'.
You are using an outdated version of Java (8). Java 17 or higher is required.
The JAVA_HOME environment variable is currently set to (C:\Program Files\Java\jdk-17.0.3.1).

Screenshot (185)

modmuss50 commented 2 years ago

👋 We use the issue tracker exclusively for final bug reports and feature requests. However, this issue appears to be better suited for either a discussion thread, or a message on our discord server. Please post your request on one of these, and the conversation can continue there.