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

Logo

Ubuntu 社区为您提供最前沿的新闻资讯和知识内容

更多推荐