问题:sdk install gradle 2.14.1报错Stop! The archive was corrupt and has been removed! Please try installing again.
Found a previously downloaded gradle 2.14.1 archive. Not downloading it again... End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of /root/.sdkman/archives/gradle-2.14.1.zip or /root/.sdkman/archives/gradle-2.14.1.zip.zip, and cannot find /root/.sdkman/archives/gradle-2.14.1.zip.ZIP, period. rm: remove regular file `/root/.sdkman/archives/gradle-2.14.1.zip'? Stop! The archive was corrupt and has been removed! Please try installing again.
Solution:
Sdkman installation package into the directory, zip package version corresponding to manually download gradle, rename gradle-version.zip
Then install the sdk install gradle 2.14.1 []
1, manually download gradle address
wget https://downloads.gradle-dn.com/distributions/gradle-2.14.1-all.zip
2, copy zip compressed packet to the next directory in sdkman
Compressed Path: /root/.sdkman/archives
File name should be changed to: gradle-2.14.1.zip
3, re-execute the command to install the corresponding version gradle
sdk install gradle 2.14.1