简体   繁体   中英

Gradle on macOS Hight Sierra - Java 9

I update java to the lasted version e then I following this guide to install grade using Homebrew : gradle installation guide

When the gradle installation is finished, I tried to launch gradre using the command: grade by command line but appear this error:

FAILURE: Build failed with an exception.

* What went wrong: Could not determine java version from '9.0.1'.

How can I fix this problem?

It is a Gradle bug has been fixed in version 4.2.1 :

https://github.com/gradle/gradle/commit/d9c35cf9d74c102641fcfe0bb7bf622791a96caf

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