JDK和Java SDK之间的差异

[英]Differences between JDK and Java SDK


Is there any substantial difference between those two terms?. I understand that JDK stands for Java Development Kit that is a subset of SDK (Software Development Kit). But specifying Java SDK, it should mean the same as JDK.

这两项有什么实质上的区别吗?我理解JDK代表Java开发工具包,它是SDK(软件开发工具包)的一个子集。但是指定Java SDK,它的含义应该与JDK相同。

15 个解决方案

#1


83  

From this wikipedia entry:

从这个维基百科的条目:

The JDK is a subset of what is loosely defined as a software development kit (SDK) in the general sense. In the descriptions which accompany their recent releases for Java SE, EE, and ME, Sun acknowledge that under their terminology, the JDK forms the subset of the SDK which is responsible for the writing and running of Java programs. The remainder of the SDK is composed of extra software, such as Application Servers, Debuggers, and Documentation.

JDK是广义的软件开发工具包(SDK)的一个子集。Sun在其Java SE、EE和ME的最新版本的描述中承认,在他们的术语下,JDK构成了SDK的子集,SDK负责Java程序的编写和运行。SDK的其余部分由额外的软件组成,如应用服务器、调试器和文档。

The "extra software" seems to be Glassfish, MySQL, and NetBeans. This page gives a comparison of the various packages you can get for the Java EE SDK.

“额外的软件”似乎是Glassfish、MySQL和NetBeans。这个页面提供了对Java EE SDK的各种包的比较。

#2


22  

Yes, there is a difference between the SDK and the JDK. Most of people forget that Java Platform is not only used to develop programs in Java language. The JVM supports some other languages also. Thus, making it clear, the SDK is the generic bundle of software that supports software creation in a variety of languages like Clojure, Groovy, Scala, JRuby, and others. The JDK is the specific bundle to develop software in Java language, containing all Java standard API to do so. (I hope I've explaned it well, since I actually do not speak english)

是的,SDK和JDK是不同的。大多数人都忘记了Java平台不仅仅用于开发Java语言的程序。JVM还支持其他一些语言。因此,明确地说,SDK是一个通用的软件包,它支持以Clojure、Groovy、Scala、JRuby等多种语言创建软件。JDK是用Java语言开发软件的特定捆绑包,其中包含所有Java标准API。(我希望我解释得很好,因为我实际上不会说英语)

#3


10  

JDK is the SDK for Java.

JDK是Java的SDK。

SDK stands for 'Software Development Kit', a developers tools that enables one to write the code with more more ease, effectiveness and efficiency. SDKs come for various languages. They provide a lot of APIs (Application Programming Interfaces) that makes the programmer's work easy.

SDK代表的是“软件开发工具包”,这是一种开发工具,它使开发人员能够更轻松、更有效地编写代码。SDKs有多种语言。它们提供了许多api(应用程序编程接口),使程序员的工作变得容易。

enter image description here

The SDK for Java is called as JDK, the Java Development Kit. So by saying SDK for Java you are actually referring to the JDK.

Java的SDK称为JDK,即Java开发工具包。所以说Java的SDK实际上指的是JDK。

Assuming that you are new to Java, there is another term that you'll come across- JRE, the acronym for Java Runtime Environment. JRE is something that you need when you try to run software programs written in Java.

假设您是Java新手,您将遇到另一个术语——JRE,它是Java运行时环境的缩写。当您尝试运行用Java编写的软件程序时,您需要JRE。

Java is a platform independent language. The JRE runs the JVM, the Java Virtual Machine, that enables you to run the software on any platform for which the JVM is available.

Java是一种独立于平台的语言。JRE运行Java虚拟机JVM,它允许您在JVM可用的任何平台上运行软件。

#4


4  

Taken from the Java EE 6 SDK Installer, shows what SDK 6 contains besides JDK:

从Java EE 6 SDK安装程序中,可以看到除了JDK之外的SDK 6:

What SDK 6 contains, besides JDK

#5


3  

The JDK (Java Development Kit) is an SDK (Software Dev Kit).

JDK (Java开发工具包)是一个SDK(软件开发工具包)。

It is used to build software/applications on Java and of course it includes the JRE (Java Runtime Edition) to execute that software. If you just want to execute a Java application, download only the JRE.

它用于在Java上构建软件/应用程序,当然还包括JRE (Java运行时版本)来执行该软件。如果只想执行Java应用程序,请只下载JRE。

By the way, Java EE (Enterprise Edition) contains libraries of packages of classes "with methods (functions)" to build apps for the WEB environment and Java ME (Micro Edition) for mobile devices. If you are interested in it (Java ME) I would recommend to take a look at Google's Android DevKit and API.

顺便说一下,Java EE (Enterprise Edition)包含了类的包库,“带有方法(函数)”用于为WEB环境构建应用程序,Java ME (Micro Edition)用于移动设备。如果您对它感兴趣(Java ME),我建议您看看谷歌的Android DevKit和API。

Take a look here: it's gonna explain bit more.. http://www.oracle.com/technetwork/java/archive-139210.html

看看这里:它将解释更多。http://www.oracle.com/technetwork/java/archive - 139210. - html

#6


2  

Sun just likes changing the names of things for no apparent reason. Look at the three different numbering schemes for SunOS/Solaris, or the two numbering schemes for Java. Is is Java 1.6, Java 2 Version 6, or Java 6?

Sun只是喜欢毫无理由地改变事物的名称。看看SunOS/Solaris的三种不同的编号方案,或者Java的两种编号方案。Java 1.6、Java 2版本6还是Java 6?

#7


2  

So, why are there those two different links (SDK and JDK) to download them?

那么,为什么会有这两个不同的链接(SDK和JDK)来下载它们呢?

#8


1  

There's no difference between JDK and Java SDK. Both of them mean the same thing. I think it was a PR decision at Sun to change over from JDK to Java SDK. I think its back to JDK for now.

JDK和Java SDK之间没有区别。它们的意思是一样的。我认为这是Sun的公关决定,从JDK转换到Java SDK。我想现在该回到JDK了。

#9


1  

In my point of view there is no difference between JDK and SDK in java. We can find all development tools as well as facilities in both of them. it is just an alias provided by sun.

在我看来,JDK和SDK在java中没有区别。我们可以找到所有的开发工具和它们的设施。它只是sun提供的一个别名。

#10


1  

Best example for this Question, SDK - Software Development Kit - Ex: Netbeans JDK - Java Development Kit.(This is Java compiler). Without JDK, we unable to run java programs in SDK.

这个问题最好的例子,SDK -软件开发工具包- Ex: Netbeans JDK - Java开发工具包。(这是Java编译器)。没有JDK,我们无法在SDK中运行java程序。

#11


1  

The JDK comes with a collection of tools that are used for developing and running Java programs,

JDK附带了一组用于开发和运行Java程序的工具,

They include:

它们包括:

  1. appletviewer (for viewing Java applets)

    appletviewer(用于查看Java applet)

  2. javac (Java compiler)

    javac(Java编译器)

  3. java (Java interpreter)

    java(java解释器)

  4. javap (Java disassembler)

    javap(Java反汇编程序)

  5. javah (for C header files)

    javah(用于C头文件)

  6. javadoc (for creating HTML documents)

    javadoc(用于创建HTML文档)

  7. jdb (Java debugger)

    多彬(Java调试器)

Whereas, the SDK comes with many other tools also including the tools available in JDKs.

然而,SDK附带了许多其他工具,包括jdk中可用的工具。

http://parvindersingh.webs.com/apps/forums/topics/show/8853125-solved-java-difference-between-jdk-and-sdk-

http://parvindersingh.webs.com/apps/forums/topics/show/8853125-solved-java-difference-between-jdk-and-sdk-

#12


0  

I think jdk has certain features which can be used along with particular framework. Well call it SDK as a whole.

我认为jdk具有某些特性,可以与特定的框架一起使用。我们把它叫做SDK。

Like Android or Blackberry both use java along with their framework.

就像Android或黑莓一样,两者都使用java及其框架。

#13


0  

There is no difference.

没有区别。

The Java Software Development Kit (Java SDK) used to be called the Java Development Kit (JDK) before the marketing department at Sun got crazy with the "tm" and terminology. For political reasons & for sanity, they call the meaningful names (jdk) & versions (1.2 / 1.3 / 1.4 1.5 / 1.6) "engineering" terms. The marketing terms are "Java2 platform" (aka jdk 1.2 thru 1.4) or Java5 (aka jdk 1.5) or Java6 (aka jdk1.6). I'm getting a headache just thinking about it.

Java软件开发工具包(Java SDK)曾经被称为Java开发工具包(JDK),在Sun的市场部门疯狂使用“tm”和术语之前。出于政治原因和理智的考虑,他们调用有意义的名称(jdk)和版本(1.2 / 1.3 / 1.4 / 1.5 / 1.6)“工程”。营销术语是“Java2平台”(即jdk 1.2到1.4)或Java5(即jdk 1.5)或Java6(即jdk1.6)。我一想到这件事就头疼。

#14


-1  

My initial guess would be that the Java SDK is for building the JVM while the JDK is for building apps for the JVM.

我最初的猜测是,Java SDK用于构建JVM,而JDK用于为JVM构建应用程序。

Edit: Although this looks to be incorrect at the moment. Sun are in the process of opensourcing the JVM (perhaps they've even finished, now) so I wouldn't be too surprised if my answer does become correct... But at the moment, the SDK and JDK are the same thing.

编辑:虽然现在看起来不正确。Sun正在开发JVM的开放源代码(也许他们现在已经完成了),所以如果我的答案是正确的,我不会太惊讶……但是目前,SDK和JDK是一回事。

#15


-1  

There are two products JavaSE and JavaEE. EE is the web application/enterprise edition that allows the development and running of web application. SE is the plain Java product that has no EE specifics in it, but is a subset of EE. The SE comes in two types a JDK and a JRE.

有两个产品JavaSE和JavaEE。EE是允许开发和运行web应用程序的web应用程序/企业版。SE是一个普通的Java产品,其中没有具体的EE,但它是EE的一个子集。SE有两种类型:JDK和JRE。

There is one big difference that may not be obvious, and I am not sure if it applies to all Operating Systems but under Windows the JRE does not have the server HotSpot JVM, only the client one, the JDK has both, and as far as I know all other OS's have both for the JDK and the JRE. The real difference is the the JDK contains the Java compiler, that is the JDK allows you to compile and run Java from source code where as the JRE only allows the running of Java byte code, that is Source that has already been compiled. And yes newer versions bundle a number of extra components, such as NetBeans editor environment and Java in memory Database (derby/cloudscape), but these are optional.

有一个很大的区别,可能不太明显,而且我不确定如果它适用于所有操作系统但在Windows JRE没有服务器HotSpot JVM,只有客户端,JDK既有,据我所知所有其他操作系统的JDK和JRE。真正的区别在于JDK包含Java编译器,即JDK允许您从源代码编译和运行Java,而JRE只允许运行Java字节代码,即已经编译的源代码。是的,较新的版本捆绑了许多额外的组件,比如NetBeans编辑器环境和内存数据库中的Java (derby/cloudscape),但是这些组件是可选的。


注意!

本站翻译的文章,版权归属于本站,未经许可禁止转摘,转摘请注明本文地址:https://www.itdaan.com/blog/2008/10/03/41ecbad49a047aa2f5bdab5f7a62cb7d.html



 
  © 2014-2022 ITdaan.com 联系我们: