简体   繁体   中英

ERROR: Could not determine java version from '15.0.2'

Hey so I was trying to run the command ./gradlew setupDecompWorkspace on the windows powershell and it gave me an error as shown in the image. I also checked to see what version of gradle I was using and it said gradle-2.7-bin.zip inside the gradle-wrapper.properties and I tried upgrading the version via powershell using a command but the term gradle is not recognized. Please help me solve this issue since i need to do this for forge api.

在此处输入图像描述

Gradle 2.7 is an ancient version of Gradle from 2015. Java 15.x did not exist at that time. This version of Gradle does not know about it.

I think you might have more success when you try to run this build with Java 8.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM