Java 9 可以在 32 位操作系统上运行吗?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/46356345/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Can Java 9 run on a 32-bit OS?
提问by auntyellow
Seems there are no 32-bit download packages on Oracle's available download list.
Oracle 的可用下载列表中似乎没有 32 位下载包。
UPDATE
更新
Can download here:
可以在这里下载:
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/9+181/jdk-9_windows-x86_bin.exe
采纳答案by Boann
Although the 32-bit binaries for JDK9 seem to be missing from Oracle's lousy, unencrypted download page, if (after clicking "Accept License Agreement") you copy the URL of the 64-bit binaries and change x64
to x86
, it will give you the 32-bit binaries.
尽管 Oracle 糟糕的未加密下载页面中似乎缺少 JDK9 的 32 位二进制文件,但如果(在单击“接受许可协议”后)您复制 64 位二进制文件的 URL 并更改x64
为x86
,它将为您提供 32 -位二进制文件。
Update: And now it's gone. Bizarre! What is Oracle playing at? They went to the effort to fix x86-specific bugs for Java 9, they explicitly said 32-bit Windows and Linux were supported, they list installation instructions for 32-bit systems, they made 32-bit builds fully available throughout the pre-release period for testing purposes, and nothing in their JDK 9 migration guideindicates that 32-bit platforms have been dropped (quite the opposite in fact: it says the -client
VM command line option has been dropped so the faster -server
VM is now the default for 32-bit).
更新:现在它不见了。奇怪!Oracle 在玩什么?他们努力修复 Java 9 的 x86 特定错误,他们明确表示支持 32 位 Windows 和 Linux,他们列出了 32 位系统的安装说明,他们使 32 位构建在整个预发布版本中完全可用出于测试目的,并且他们的JDK 9 迁移指南中没有任何内容表明 32 位平台已被删除(实际上恰恰相反:它说-client
VM 命令行选项已被删除,因此更快的-server
VM 现在是 32 位平台的默认设置)少量)。
So why are they suddenly hiding the release binaries?
那么他们为什么突然隐藏发布二进制文件呢?
I happened to have downloaded the Windows JDK (including JRE) and the Linux JRE for x86. I don't have the Linux JDK. There's an Oracle digital signature in the properties of the Windows exe so you can see that it's genuine. I do hope Oracle get their act together.
我碰巧下载了适用于 x86 的 Windows JDK(包括 JRE)和 Linux JRE。我没有 Linux JDK。Windows exe 的属性中有一个 Oracle 数字签名,因此您可以看到它是正版的。我确实希望 Oracle 采取行动。
- jdk-9_windows-x86_bin.exe: https://drive.google.com/uc?id=0B4RBD9LUbdlvUHpESXdEMmdudkE&export=download
(SHA256: 62b9bc12ea64e9edb9950b0c784a1561b8503f7384270659ad93d66f1b3b456a) - jre-9_linux-x86_bin.tar.gz: https://drive.google.com/uc?id=0B4RBD9LUbdlvb0dtOHR0eDVoQWc&export=download
(SHA256: 372fbd6d8dc70c8087c0d3547f58d593266cf26cc4f6c6698b808930b3a4018a) - jre-9_windows-x86_bin.exe
(SHA256: bbd0e75dc6360e903dd905f080e1a1d76c9c78a27d9f7dd153c6e3adc6ebc78e)
- jdk-9_windows-x86_bin.exe: https://drive.google.com/uc?id=0B4RBD9LUbdlvUHpESXdEMmdudkE&export=download
(SHA256: 62b9bc12ea64e9edb9950b0c784a1561b3604a1561b3654df93b37df9f97df955a37df955a3f92f9f97df955a37df955a37df94df25a3d3dmdudkE &export =download - jre-9_linux-x86_bin.tar.gz: https://drive.google.com/uc?id=0B4RBD9LUbdlvb0dtOHR0eDVoQWc&export=download
(SHA256: 372fbd6d8dc70c8087c0d3547f58d56f960ac94b8c8608c80c88c830a8c930a8c830a8c94b30a8c930a8c8c830a8c830a8c930a8c830a308c8c8c80a308c8c8c8c68c930a30a30c95c &export=download (SHA256&export =download) - jre-9_windows-x86_bin.exe
(SHA256:bbd0e75dc6360e903dd905f080e1a1d76c9c78a27d9f7dd153c6e3adc6ebc78e)
Update 2: Apparently Oracle has decided to eliminate support for x86 Java forever. They somehow finished, compiled, digitally signed, and published the Java 9 binaries by accident. The binaries still work, but presumably will not receive updates.
更新 2:显然 Oracle 已决定永远取消对 x86 Java 的支持。他们以某种方式意外地完成、编译、数字签名并发布了 Java 9 二进制文件。二进制文件仍然有效,但大概不会收到更新。
Update 3: Apparently Oracle has become so hateful and hostile towards Java developers that they have compelled Google to block the above downloads with a DMCA request. Nothing I can do. Sorry. If you have Java 9, you have it, and it will still work. If you don't have Java 9, well, you'll have to get creative.
更新 3:显然 Oracle 对 Java 开发人员变得如此仇恨和敌视,以至于他们迫使 Google 通过 DMCA 请求阻止上述下载。我无能为力。对不起。如果你有 Java 9,你就有了,它仍然可以工作。如果您没有 Java 9,那么您就必须发挥创造力。
回答by francogp
Dropped Windows 32–bit Client VM: In JDK 9, the Windows 32–bit client VM is not available.
删除了 Windows 32 位客户端 VM:在 JDK 9 中,Windows 32 位客户端 VM 不可用。
回答by Hendy Irawan
Oracle has dropped Windows 32-bit Client VM
However: The statement there "In JDK 9, the Windows 32–bit client VM is not available. Only a server VM is offered." is not even accurate, there is not even 32-bit server VM (as of Sep 27, 2017).
但是:那里的声明“在 JDK 9 中,Windows 32 位客户端 VM 不可用。仅提供服务器 VM。” 甚至不准确,甚至没有 32 位服务器 VM(截至 2017 年 9 月 27 日)。
Update: Not just Windows, but no 32-bit for any platform is available.
更新:不仅是 Windows,而且没有适用于任何平台的 32 位。
回答by Vadzim
Chief Java Architect Mark Reinhold in Twitter on September 25:
9 月 25 日,首席 Java 架构师 Mark Reinhold在 Twitter 上表示:
Sorry, but we have no plans to ship 32-bit builds of JDK 9. We're trying to focus more on the future than the past.
Yes, you can build your own 32-bit JDK 9 binaries.
抱歉,我们没有计划发布 JDK 9 的 32 位版本。我们正努力将更多的注意力放在未来而不是过去。
是的,您可以构建自己的 32 位 JDK 9 二进制文件。
回答by Emmeran Seehuber
I found a Win32 build here: https://github.com/ojdkbuild/ojdkbuild
我在这里找到了一个 Win32 版本:https: //github.com/ojdkbuild/ojdkbuild
This is a OpenJDK provided by RedHat (without support), no idea if they will provide those builds in future.
这是 RedHat 提供的 OpenJDK(不支持),不知道他们将来是否会提供这些构建。