Java 如何仅为 Windows 下载 1.7 JDK,而不是 SDK

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

how to only download the 1.7 JDK, not SDK, for windows

java

提问by John Little

Installing java for casual java developers has always been something of a minefield. E.g. do we need SE or EE edition for say STS/Grails, do we need the SDK or JDK? I am pretty sure I need the JDK 1.7 for EE edition. The question is, how do I get the JDK without the bloated SDK? My understanding of the SDK it that its additional tools such as glassfish, something I have no need for. Space on my SSD is a premium.

为临时 Java 开发人员安装 Java 一直是一个雷区。例如,对于 STS/Grails,我们是否需要 SE 或 EE 版本,我们是否需要 SDK 或 JDK?我很确定我需要 EE 版的 JDK 1.7。问题是,如何在没有臃肿SDK的情况下获得JDK?我对 SDK 的理解是它的附加工具,例如 glassfish,我不需要的东西。我的 SSD 上的空间非常宝贵。

The oracle EE download page:

oracle EE下载页面:

http://www.oracle.com/technetwork/java/javaee/downloads/index.html 

only seems to allow you to download the JDK AND SDK, is there any way to install just the JDK?

似乎只允许您下载 JDK 和 SDK,有什么方法可以只安装 JDK?

I already have the 64 bit JDK installed, but sadly, STS only works with 32 bit (on windows). Will these conflict when I install both?

我已经安装了 64 位 JDK,但遗憾的是,STS 仅适用于 32 位(在 Windows 上)。当我安装两者时,这些会冲突吗?

回答by mahesh

You can download JDK 7 here

你可以在这里下载 JDK 7

The Java SDK and JDK are different you can check heredifference between them

Java SDK 和 JDK 不同,您可以在此处查看它们之间的区别

You can download any version of JDK from this oracle archivelink, To download older version of JDK please register in the on click on download link

您可以从此oracle 存档链接下载任何版本的 JDK ,要下载旧版本的 JDK,请在单击下载链接中注册

回答by Yster

GlassFish Server Open Source Edition 4 is the reference implementation of the Java EE 7 specification. So you can never download Java EE itself like you do with Java SE by downloading the JDK, but you always download an application server implementing it.

GlassFish Server Open Source Edition 4 是 Java EE 7 规范的参考实现。因此,您永远无法像使用 Java SE 那样通过下载 JDK 来下载 Java EE 本身,但您始终会下载实现它的应用程序服务器。

Source

来源