Java 如何/在何处下载适用于 Windows 的 openjdk/openjre
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/36307402/
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
How/where to download openjdk/openjre for windows
提问by anjanb
How do I go about downloading OpenJDK and OpenJRE for Windows ?
如何下载适用于 Windows 的 OpenJDK 和 OpenJRE?
Is there a Server version of Open JRE ?
是否有 Open JRE 的服务器版本?
The reason I'm asking is since googling around didn't get me anywhere. Since more and more companies have started looking at openjdk/openjre, and some of us need to deploy/develop on windows, this is a valid question.
我问的原因是因为谷歌搜索没有让我到任何地方。由于越来越多的公司开始关注openjdk/openjre,而且我们中的一些人需要在windows上进行部署/开发,这是一个有效的问题。
If you think building the open jdk/jre is the only solution for now, pls. say so.
如果您认为构建开放的 jdk/jre 是目前唯一的解决方案,请。这样说的。
All : It's not a duplicate. Since the original question was asked (and corresponding answers), JDK 8 has been released. The OpenJDK site does not have OpenJDK 8 or OpenJRE 8 binaries. It's quite difficult for a java developer to build one for himself. I'm looking for an "Official" OpenJDK, client OpenJRE, server OpenJRE that I can download and redistribute as per the license.
全部:这不是重复的。由于提出了原始问题(以及相应的答案),因此 JDK 8 已经发布。OpenJDK 站点没有 OpenJDK 8 或 OpenJRE 8 二进制文件。Java 开发人员为自己构建一个是相当困难的。我正在寻找一个“官方”的 OpenJDK、客户端 OpenJRE、服务器 OpenJRE,我可以根据许可证下载和重新分发。
回答by Peter Lawrey
How do I go about downloading OpenJDK and OpenJRE for Windows ?
如何下载适用于 Windows 的 OpenJDK 和 OpenJRE?
On the OpenJDK home page it states
在 OpenJDK 主页上,它指出
Download and install the open-source JDK 8 for most popular Linux distributions. If you came here looking for Oracle JDK 8 product binaries for Solaris, Linux, Mac OS X, or Windows, which are based largely on the same code, you can download them from java.oracle.com.
为最流行的 Linux 发行版下载并安装开源 JDK 8。如果您来这里是为了寻找适用于 Solaris、Linux、Mac OS X 或 Windows 的 Oracle JDK 8 产品二进制文件,它们主要基于相同的代码,您可以从 java.oracle.com 下载它们。
You can download and built the OpenJDK yourself, as others have done, however I am not sure this is a good idea for a production instance and it is a pretty complicated product to build and test.
您可以像其他人一样自己下载和构建 OpenJDK,但是我不确定这对于生产实例是否是一个好主意,并且它是一个构建和测试非常复杂的产品。
Is there a Server version of Open JRE ?
是否有 Open JRE 的服务器版本?
Yes, the server JVM runs by default on Linux and 64-bit windows.
是的,服务器 JVM 默认在 Linux 和 64 位 Windows 上运行。
If you think building the open jdk/jre is the only solution for now
如果您认为构建开放的 jdk/jre 是目前唯一的解决方案
There is plenty of other free JDKs including Oracle's and IBM's
还有很多其他免费的 JDK,包括 Oracle 和 IBM 的
If you want support I suggest considering Azul's Zulu.
如果您需要支持,我建议您考虑使用 Azul 的 Zulu。