DEV Community

PONVEL M
PONVEL M

Posted on

What is JDK?

JDK stands for Java development kit

  • JDK is a software development kit that provides tools, libraries, and the runtime environment required to develop and run Java applications.

  • JDK is a software package used to develop, compile, and run Java programs.

  • If you want to write Java code, you must install JDK.

JDK is like a complete Java toolbox 🧰. It includes:

1️⃣ JRE (Java Runtime Environment)

  • Needed to run Java programs
  • Includes JVM + core libraries

2️⃣ JVM (Java Virtual Machine)

  • Executes Java bytecode
  • Makes Java platform-independent (Write Once, Run Anywhere)

3️⃣ Development Tools

Used while coding:

  • javac → Compiles .java → .class
  • java → Runs the program
  • javadoc → Generates documentation
  • jar → Packages files into JAR

Top comments (0)