我有以下情况:
$ sdk java list
AdoptOpenJDK | | 15.0.1.j9 | adpt | | 15.0.1.j9-adpt
| | 15.0.1.hs | adpt | installed | 15.0.1.hs-adpt
| | 14.0.2.j9 | adpt | | 14.0.2.j9-adpt
| | 14.0.2.hs | adpt | | 14.0.2.hs-adpt
| | 13.0.2.j9 | adpt | | 13.0.2.j9-adpt
| | 13.0.2.hs | adpt | | 13.0.2.hs-adpt
| | 12.0.2.j9 | adpt | | 12.0.2.j9-adpt
| | 12.0.2.hs | adpt | | 12.0.2.hs-adpt
| | 11.0.9.j9 | adpt | | 11.0.9.j9-adpt
| >>> | 11.0.9.hs | adpt | installed | 11.0.9.hs-adpt
...
但是在采用openjdk上,可以下载以下版本https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/tag/jdk-11.0.8%2B10 。
但是当我尝试通过 sdkman 安装它时:
$ sdk java install
tools$ sdk install java 11.0.8.hs-adpt
Stop! java 11.0.8.hs-adpt is not available. Possible causes:
* 11.0.8.hs-adpt is an invalid version
* java binaries are incompatible with Darwin
* java has not been released yet
有没有办法通过 sdkman 处理?