Java 适用于 Windows 的 OpenJDK8

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/52273937/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-11 00:23:58  来源:igfitidea点击:

OpenJDK8 for windows

java

提问by user1985273

Im a bit confused about how to download openjdk8 for windows.

我对如何为 Windows 下载 openjdk8 有点困惑。

If I go to http://openjdk.java.net/install/then under JDK 8 there are only two sections: "Debian, Ubuntu, etc." and "Fedora, Oracle Linux, Red Hat Enterprise Linux, etc.". Where is windows?

如果我访问http://openjdk.java.net/install/,那么在 JDK 8 下只有两个部分:“Debian、Ubuntu 等”。和“Fedora、Oracle Linux、Red Hat Enterprise Linux 等”。窗户在哪里?

采纳答案by Adam Ostro?lík

Go to this link

转到此链接

Download version tar.gz for windows and just extract files to the folder by your needs. On the left pane, you can select which version of openjdk to download

下载适用于 Windows 的 tar.gz 版本,只需根据您的需要将文件解压缩到文件夹中即可。在左侧窗格中,您可以选择要下载的 openjdk 版本

Tutorial: unzip as expected. You need to set system variable PATHto include your directory with openjdk so you can type java -version in console.

教程:按预期解压缩。您需要设置系统变量 PATH以将您的目录包含在 openjdk 中,以便您可以在控制台中键入 java -version 。

JDK vs OpenJDK

JDK 与 OpenJDK