Group Project
Group Project
ARCHITECTURE
Presented by Pratyush Kumar Bose
COMPONENTS OF THE
JAVA ARCHITECTURE
The Java architecture consists of three main components:
Java Virtual Machine (JVM)
Java Runtime Environment (JRE)
Java Development Kit (JDK)
Java Virtual
Machine
(JVM)
The Java Virtual Machine (JVM) is a software program that
executes Java bytecode.
Bytecode is a platform-independent intermediate language that is
generated by the Java compiler.
The JVM is responsible for:
Loading bytecode into memory
Verifying and preparing the bytecode
Executing the bytecode
Managing memory
Java Runtime
Environment
(JRE)
The Java Runtime Environment (JRE) includes the JVM and
additional libraries that are required to run Java applications.
The Java Class Library (JCL) is a collection of pre-written
classes that provide common functionality, such as
input/output, networking, and security.
Native libraries are platform-specific libraries that allow Java
applications to interact with the underlying operating system.
Java
Development
Kit (JDK)
The Java Development Kit (JDK) includes the JRE, as well as a set
of tools that are used to develop Java applications.
These tools include:
Java compiler (javac)
Java archiver (jar)
Java debugger (jdb)
Java documentation tool (javadoc)
Write Once, Run Anywhere
(WORA)
The "Write Once, Run Anywhere" (WORA) principle is one of the key benefits
of the Java architecture.
It means that Java code can be compiled once and then run on any system
that has a Java Virtual Machine (JVM), regardless of the underlying
operating system or hardware architecture.
Java architecture is a layered architecture
with each layer building upon the one below
it.