Upgrading from GVM to SDKMAN
Asked Answered
L

3

1

I just upgraded from GVM to SDKMAN. When I run any of the list commands to see what versions of the various sdks I have installed (e.g. sdk list grails), none of them are getting displayed with asterisks next to them even though they were installed and being used through GVM. Not sure what the deal is.

Lightman answered 17/9, 2015 at 21:38 Comment(0)
M
8

The cause might be you didn't run the following command

export SDKMAN_DIR="$HOME/.sdkman"
source "$HOME/.sdkman/bin/sdkman-init.sh"

For more detail, I wrote the post on updating sdkman from gvm.

http://mike-neck.hatenadiary.com/entry/2015/09/17/234228

Mediocrity answered 17/9, 2015 at 22:21 Comment(1)
WARNING: Don't blindly copy and paste the example above as it uses a directory /path/to/home to and not ~ as you would expectLutenist
P
1

They're in e.g. ~/.sdkman/grails now, not e.g. ~/.grails. Moving them should be enough

Phraseogram answered 18/9, 2015 at 10:29 Comment(0)
D
0

I found a symlink that points to the latest version in:

~/.sdkman/candidates/grails/current

I'm using SDKMAN 4.0.37

Dialyze answered 2/6, 2016 at 18:28 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.