I follow to this https://sdkman.io/install to install install sdkman. After instillation all worked nice. I can see correct version by sdk version. Also I can install various Java version. But all are for the correct shell session. As soon as I close and open new shell, I can't get neither sdkman nor those installed JDK. I can see all JDK at ~/.sdkman/candidates/java. I have to run this all the time source "$HOME/.sdkman/bin/sdkman-init.sh"
How do I set sdkman as well as JDK permanent in my system.