I installed groovy with GVM:
gvm install groovy
But when I say yes to the set 2.4.6 as default version, I get this error:
rm: `/c/Users/<user_name>/.sdkman/candidates/groovy/current' is a directory
ln: `/c/Users/<user_name>/.sdkman/candidates/groovy/current': cannot overwrite direc
tory
Not sure why it's trying to rm the current folder but then create a symbolic link to it. Any ideas what I'm doing wrong?
答案 0 :(得分:0)
current
should be a symbolic link to the directory of your current version, not a directory itself
Looks like for some reason, it's currently a directory
Try moving current
out of the way, and trying again
PS: gvm is now called sdkman and the command is sdk
not gvm
though gvm
still currently works for historic compatibility
答案 1 :(得分:0)
从名称看起来你就是&#34; MinGW&#34;贝壳。 sdkman
无法处理此环境中的软链接。
删除current
目录并复制要使用的版本。这不是一个常规问题;影响sdkman下可用的所有工具(例如lazybone,grails ..)