If the ~/.sdkman/var/candidates is empty, we can refresh it by calling:
$ curl -s https://api.sdkman.io/candidates > ~/.sdkman/var/candidates
If the ~/.sdkman/var/candidates is empty, we can refresh it by calling:
$ curl -s https://api.sdkman.io/candidates > ~/.sdkman/var/candidates