在新安装的带有sdkman的Ubuntu 18.04机器上,我只能得到我的另一个(旧)Ubuntu 18.04机器上可用的Java版本的子集。两者都运行SDKMAN 5.7.3 + 337。我想念什么?

我检查了sdkman文档,但找不到我错过的明显的config选项。我也发现了这篇帖子,它看起来与我的帖子相似-尽管解决方案看起来相当复杂(而不是sdkman的精神):sdkman is missing a specific java version

运行sdkman,我在输出中得到以下差异:

New box:
$ sdk list java
================================================================================
Available Java Versions
================================================================================
 Vendor        | Use | Version      | Dist    | Status     | Identifier
--------------------------------------------------------------------------------
 BellSoft      |     | 12.0.2       | librca  |            | 12.0.2-librca
               |     | 11.0.4       | librca  |            | 11.0.4-librca
               |     | 8.0.222      | librca  |            | 8.0.222-librca
================================================================================
Use the Identifier for installation:

    $ sdk install java 11.0.3.hs-adpt
================================================================================```



Old box:

$ sdk list java
================================================================================
Available Java Versions
================================================================================
 Vendor        | Use | Version      | Dist    | Status     | Identifier
--------------------------------------------------------------------------------
 AdoptOpenJDK  |     | 12.0.1.j9    | adpt    |            | 12.0.1.j9-adpt
               |     | 12.0.1.hs    | adpt    |            | 12.0.1.hs-adpt
               |     | 11.0.4.j9    | adpt    |            | 11.0.4.j9-adpt
               |     | 11.0.4.hs    | adpt    |            | 11.0.4.hs-adpt
               |     | 8.0.222.j9   | adpt    |            | 8.0.222.j9-adpt
               |     | 8.0.222.hs   | adpt    |            | 8.0.222.hs-adpt
 Amazon        |     | 11.0.4       | amzn    |            | 11.0.4-amzn
               |     | 8.0.222      | amzn    |            | 8.0.222-amzn
 Azul Zulu     |     | 12.0.2       | zulu    |            | 12.0.2-zulu
               |     | 11.0.4       | zulu    |            | 11.0.4-zulu
               |     | 11.0.1       | zulu    | local only | 11.0.1-zulu
               |     | 10.0.2       | zulu    |            | 10.0.2-zulu
               |     | 9.0.7        | zulu    |            | 9.0.7-zulu
               |     | 8.0.222      | zulu    |            | 8.0.222-zulu
               |     | 8.0.181      | zulu    | local only | 8.0.181-zulu
               |     | 7.0.232      | zulu    |            | 7.0.232-zulu
               | >>> | 7.0.191      | zulu    | local only | 7.0.191-zulu
               |     | 6.0.119      | zulu    |            | 6.0.119-zulu
 Azul ZuluFX   |     | 11.0.2       | zulufx  |            | 11.0.2-zulufx
               |     | 8.0.202      | zulufx  |            | 8.0.202-zulufx
 BellSoft      |     | 12.0.2       | librca  |            | 12.0.2-librca
               |     | 11.0.4       | librca  |            | 11.0.4-librca
               |     | 8.0.222      | librca  |            | 8.0.222-librca
 GraalVM       |     | 19.2.0       | grl     |            | 19.2.0-grl
               |     | 19.2.0.1     | grl     |            | 19.2.0.1-grl
               |     | 19.1.1       | grl     |            | 19.1.1-grl
               |     | 19.0.2       | grl     |            | 19.0.2-grl
               |     | 1.0.0        | grl     |            | 1.0.0-rc-16-grl
 Java.net      |     | 14.ea.14     | open    |            | 14.ea.14-open
               |     | 13.ea.33     | open    |            | 13.ea.33-open
               |     | 12.0.2       | open    |            | 12.0.2-open
               |     | 11.0.2       | open    |            | 11.0.2-open
               |     | 10.0.2       | open    |            | 10.0.2-open
               |     | 9.0.4        | open    |            | 9.0.4-open
 SAP           |     | 12.0.2       | sapmchn |            | 12.0.2-sapmchn
               |     | 11.0.4       | sapmchn |            | 11.0.4-sapmchn
================================================================================
Use the Identifier for installation:

    $ sdk install java 11.0.3.hs-adpt
================================================================================


有任何想法吗?

最佳答案

我现在终于意识到为什么要得到这些不同的列表。新盒子正在运行32位版本的Ubuntu。显然只有一小部分已发布的JDK支持32位。

10-04 17:06