Java Architecture



This content originally appeared on DEV Community and was authored by Bharadwaj

Java Architecture:

Java architecture enables Java programs to be written once and run anywhere (WORA), providing platform independence, security, and efficient execution.

Java’s Architecture is a collection of below components:

Java Development Kit (JDK)
JDK is the software development environment that offers tools and libraries required for developing Java applications. This contains the JRE and JVM required to write, compile and debug Java code. The Development tools under the JDK include a Java Compiler and Java Interpreter.

Java Runtime Environment (JRE)
JRE provides the libraries, Java Virtual Machine, and other components to run applications written in Java. It is essentially the JVM plus standard libraries and runtime files. JRE is included within the JDK but can also be downloaded separately for running Java programs.

Java Virtual Machine (JVM)
JVM is abstract virtual machine that executes Java bytecode. It converts bytecode into platform-specific machine code, enabling the same Java program to run on any device with a compatible JVM. It manages runtime memory areas and provides a secure execution environment.


This content originally appeared on DEV Community and was authored by Bharadwaj