1. How Java Started (1991)
Java was created by James Gosling and his team at Sun Microsystems.
Initially, it was called Oak ๐ณ.
The goal: build software for electronics like TVs, set-top boxes.
2. Name Changed to Java (1995)
The name Oak was already taken โ changed to Java โ.
Inspired by coffee (Java coffee).
Officially released in 1995.
๐ Famous slogan:
โWrite Once, Run Anywhereโ (WORA)
Means Java programs can run on any device using JVM.
๐ Summary
Created in 1991
Released in 1995
Founder: James Gosling
Owned by Oracle today
-
Famous for: Platform independence
## ARCHITECTURE OF JAVA
๐น 1. Java Source Code
- You write code in a .java file ๐ Example: Hello.java
๐น 2. Java Compiler (javac)
Converts source code โ bytecode
Output file: .class
๐ Why bytecode?
Because it is platform independent
๐น 3. Bytecode
Intermediate code (not machine code)
Can run on any system with JVM
๐น 4. JVM (Java Virtual Machine)
๐ Most important part โญ
Converts bytecode โ machine code
Executes the program
JVM Components:
Class Loader โ loads class files
Bytecode Verifier โ checks security
Interpreter โ executes code line by line
JIT Compiler โ converts to faster native code
Garbage Collector โ removes unused memory

Top comments (0)