jenv

List versions of java installed locally

jenv versions

Switch to specific version globally

jenv global 9.0.1