DEV Community

Cover image for Java Architecture::
Naga Arjun
Naga Arjun

Posted on

Java Architecture::

The Java Development Kit (jdk):

- Software development environment used to develop, compile, debug, and package Java applications

  • - Includes compiler (javac), debugger, and utilities like jar
  • - Provides the JRE, so it also allows running Java programs.
  • - Required by developers to write, compile, and debug code.
  • - JDK is only for development (it is not needed for running Java programs)
  • JDK is platform-dependent (different version for windows, Linux, macOS)

JVM (Java Virtual Machine)

  • JVM is the core execution engine of Java. It is responsible for converting bytecode into machine-specific instructions.
  • Part of both JDK and JRE.
  • Performs memory management and garbage collection.
  • Provides portability by executing the same bytecode on different platforms.
  • Java Runtime Environment (JRE):

Top comments (0)