How to specify to install oracle jdk instead of openjdk in sdk cli on ubuntu 17.04?
·
Answer a question
When using sdkman on uBuntu 17.04, I do not see an option to install the oracle jdk. How to specify to install oracle jdk using sdkman on uBuntu 17.04?
$sdk list java
===================================================================
Available Java Version
===================================================================
> * 8u131-zulu
7u141-zulu
6u93-zulu
===================================================================
+ - local version
* - installed
> - currently in use
===================================================================
$
Answers
You can type sdk ls java and see which versions are available.
At the moment I see 8u141-oracle in the list. So you can install it by sdk i java 8u141-oracle
更多推荐
所有评论(0)