Upgrading from GVM to SDKMAN

4k Views Asked by At

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.

3

There are 3 best solutions below

1
mike_neck On BEST ANSWER

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

0
user2738017 On

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

0
The Ludz On

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

~/.sdkman/candidates/grails/current

I'm using SDKMAN 4.0.37