Install Java with SDKMan
Prerequisites
Install SDKMan
Install Java with SDKMan
First, list the candidates for Java available:
You can install a specific version of Java using the value in the Identifier
column:
The sdk
command uses tabbed completion, so you don't need to view a list. Instead you can type sdk install java 11
and then press Tab a few times to get the options.
Alternately, you can just install the default latest version:
Reference Links
Last updated