我只是在我的Centos 7 CM安裝搖籃任何命令,無論是使用sdkman
和wget
在Offical Gradle website搖籃3.1給出了錯誤:「構建失敗,出現異常,無法初始化一流」爲
我還設置的建議GRADLE_HOME
到正確的目錄。
然而,當我運行gradle -v --debug
我得到這個:
10:01:03.295 [INFO] [org.gradle.internal.nativeintegration.services.NativeServices] Initialized native services in: /root/.gradle/native
FAILURE: Build failed with an exception.
* What went wrong:
Could not initialize class org.fusesource.jansi.internal.CLibrary
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
去錯了請告訴我?
UPDATE 安裝gradle-2.14.1
和gradle-3.0
似乎好工作!
我的問題是我在臨時文件夾上有'noexec' –