sdkman, the JDK equivalent of pyenv / nvm.
Site: https://sdkman.io/
curl -s "https://get.sdkman.io" | bash
It will modify your ~/.bashrc and/or ~/.zshrc to source an init file. At this point, you can either open a new terminal or run in an the existing terminal:
source "${HOME}/.sdkman/bin/sdkman-init.sh"
Investigate the following commands:
- list
- install
- use
- current