The differences between the SDK and JDK in Java are explained in detail

  • 2020-04-01 02:07:56
  • OfStack

SDK is short for Software Development Kit, which means "Software Development Kit" in Chinese. This is a fairly broad term, so to speak: the collection of documentation, examples, and tools that help develop a particular type of software is called an SDK. The SDK is a collection of files that provides a platform for software development (it facilitates the use of various apis for software development).

The JDK (Java Development Kit) is a Sun Microsystems product for Java developers. Since the introduction of Java, the JDK has become the most widely used Java SDK (Software development kit). You can think of the JDK as just a subset of the SDK, because it is a platform for developing Java programs, and the SDK for developing other programs can be without the JDK. For example, if you download a software development platform called eclipse-sdk-3.2.2-win32.zip, there is no JDK in it. But you must use the JDK (javaee and javase) whenever you develop Java programs.

For example, the SDK is like a machine tool (it can be versatile) that can produce artifacts such as ABC; When we want to produce A, we change the tool A to produce A; When we want to produce B, we change the tool B to produce B; When we want to produce C, we change the tool C to produce C; When we use the SDK to produce Java programs, we replace the tool JDK with the tool JDK, so we call the SDK with the JDK installed the Java SDK.

JavaEE is a development kit specially provided for enterprise applications, it has included many "components" needed to develop enterprise applications, it provides a convenient development platform for J2EE development, so it is directly called JavaEE SDK. I don't know if that makes sense, but it's all conceptual stuff, and you can understand that the JDK is the Java SDK.


Related articles: