java9 下的 32 位与 64 位 JRE

32 vs 64 bit JRE under java9

新的 java 9 安装映像似乎都是 64 位映像。在 Windows 7 下,我最终得到了 32 位和 64 位版本的 JRE。 javaws 默认选择 64 位版本。如果我直接从命令行 运行 32 位 javaws,它也能正常工作。

以前 32 位和 64 位安装程序是两种不同的东西。新组合的多合一方法如何决定使用哪个版本?

发行说明 :- Set 32 or 64 bit JRE requirements in a JNLP file

Web Start applications can now specify requested JREs with their arch attributes, and select the first one available that matches, even if it is not the same arch (32 bit vs 64 bit) as the currently running JRE. For example, the JNLP content below would place first preference on 64 bit JDK8, and if not available, 32 bit JDK9:

<resources arch="x86_64">
     <java version="1.8"/>
</resources>
<resources arch="x86">
    <java version="1.9"/>
</resources>

Note that in the above example, in order to launch a 64 bit 1.8 JRE, a 64 bit 9 JRE must be installed. If only a 32 bit 9 JRE is installed, the 64 bit 1.8 JRE is unavailable.