ADK vs JDK vs SDK difference?
Asked Answered
S

2

10

Lately, I am quite overwhelmed with the words that end with "DK".

I know what these abbreviations stand for. ADK: Accessory Development Kit (Android) JDK: Java Development Kit SDK: Software Development Kit

But I am still confused what they actually do. In my Android Studio, there are .java and .xml, etc.

Is ADK used for .xml files? Is JDK used for .java files? how about SDK?

Sorry if it may be like a silly question but I'd appreciate if someone clarifies this for me.

Thanks!

Sacrifice answered 7/2, 2016 at 1:39 Comment(1)
There is one more from the DK world though not directly related to android world may be - WDK -> Windows Driver Kit (aka DDK -> Windows Driver Development Kit). More details hereBuonaparte
L
14

SDK is an acronym for Software Development Kit. This isn't specific to Java as you can have an SDK for pretty much any language. It is pretty much just a term for a package that would have the tools to build stuff with its associated language.

JDK is the Java Development Kit. This what you would use to develop Java applications. It contains the jars, libraries, and tools to allow you write and compile java files that can run on the JRE (Java Runtime Environment). If you only have a JDK installed on your system, then you are going to have a hard time developing for Android since key packages are not there. You would have to install them yourself.

ADK is Android Development Kit. It is essentially Java but customized with Android code. It also contains the support for emulators and tools to help with developing Android apps. You can write regular ole java apps with an ADK since at its core, it is java. It just have a great deal of other classes that work specifically for android development.

Android Studio is just a customized version IntelliJ IDE. Regular IntelliJ is used for Java development where Android Studio is the exact same thing, just with added Android development tools. Can you build Java programs in Android Studio? You sure can because at its core it is a Java IDE.

TLDR; SDK is a blanket term for any package of development tools for a language. ADK is a Java development kit but it's customized for Android-specific development. JDK is the Java Development Kit for developing Java applications.

Lomond answered 7/2, 2016 at 2:1 Comment(2)
Not a problem. I was a little long winded compared to yours.Lomond
Thank you for clarifying my confusion! :DSacrifice
R
5

JDK (Java Development Kit)

The JDK is what you need to develop Java applications. It comes in several varieties, including SE (Standard Edition), EE (Enterprise Edition), and ME (Micro Edition). It shouldn't be confused with the JRE (Java Runtime Environment), which is what you need to run Java applications.

SDK (Standard Development Kit)

A SDK is what you need to develop applications for a specific platform. The term can apply to any language, not just Java.

ADK (Accessory Development Kit)

The ADK is what you need to build Android accessories. It is a specific example of a SDK.

Rawinsonde answered 7/2, 2016 at 2:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.