Introduction
Overview
Java is a high-level, object-oriented programming language designed for portability and platform independence through the JVM (Java Virtual Machine).
Origin of Java
Java was developed by James Gosling at Sun Microsystems in 1995. Originally called "Oak", it was renamed to Java and designed with the principle "Write Once, Run Anywhere" (WORA).
Java Architecture
Java architecture consists of three main components: - Java Development Kit (JDK) - Java Runtime Environment (JRE) - Java Virtual Machine (JVM)
Key Components
- JVM: Executes Java bytecode
- JRE: Provides libraries and JVM for running Java applications
- JDK: Complete development kit including JRE, compiler, and tools