java

Installation

https://sdkman.io/


curl -s "https://get.sdkman.io" | bash

Then source the script like it says


Example:

sdk install java 8.332.08.1-amzn
# or etc
sdk install 21.0.1-oracle

# View options & verify:
sdk ls java