Nearby lessons

2 of 125

Java - History of Java

📌 What You Will Learn
  • What Java is and why it is so popular
  • The history and different versions of Java
  • The important features of Java
  • How Java is platform independent (Write Once, Run Anywhere)
  • The difference between JDK, JRE and JVM
  • How Java is different from C and C++

History of Java is a core concept of the Java language. This lesson explains Short History of Java and Java Versions at a Glance with complete, runnable code examples, clear step-by-step explanations, and common mistakes to avoid with exam-style MCQs at the end.

Short History of Java

  • 1991 — Work starts on a project called Green for small electronic devices.
  • 1995 — Java is introduced to the public (first name given was Oak, changed later to Java).
  • 23 January 1996 — First version JDK 1.0 is released.
  • 2004 — Java 5 brings very big changes: autoboxing, generics, annotations, enhanced for-loop.
  • 2014 — Java 8 brings Lambda expressions and the Stream API. This is the most loved version even today.
  • 2017 onwards — Oracle changes the release system: every six months a new version comes. LTS (Long-Term Support) versions give support for many years. Java 8, 11, 17 and 21 are the important LTS versions.

Why is it called Java?

The team wanted a simple, short, and strong name. Java is the name of an island in Indonesia, famous for coffee. The original logo of Java is a steaming cup of coffee. So remember: Java = a coffee island = the language name.

Java Versions at a Glance

Java has grown version by version. Look at the table below to see how the versions developed. In this training material we also update you with the modern versions.

VersionYearMain additions
JDK 1.01996First public release (name: Oak)
JDK 1.11997RMI, JDBC, Reflection, inner classes
JDK 1.21998Swing, Collections Framework, strictfp
JDK 1.32000Improvements to RMI, JNDI
JDK 1.42002Regular Expressions, assert, NIO
Java 52004Generics, autoboxing, annotations, var-args, enhanced for-loop
Java 62006JDBC 4.0, better GUI support
Java 72011Strings in switch, try-with-resources, diamond operator
Java 82014Lambda, Stream API, Date/Time API (very popular)
Java 92017Modules (JPMS), JShell, private interface methods
Java 102018Local variable type inference (var)
Java 112018LTS — HttpClient, new String methods, run single file
Java 172021LTS — sealed classes, pattern matching (preview)
Java 212023Latest LTS — records, switch expressions, virtual threads
Trainer's Note: From Java 9 onwards, Oracle releases a new Java version every six months (in March and September). Versions marked LTS (Long-Term Support) are the safe choices for companies because they get updates and security patches for many years. The important LTS versions are 8, 11, 17 and 21.
📝 Key Takeaways
  • Java is a simple, secure, object-oriented programming language created by James Gosling at Sun Microsystems (now Oracle).
  • Write Once, Run Anywhere (WORA): source code (.java) is compiled to bytecode (.class), and every JVM runs that same bytecode.
  • JDK > JRE > JVM. JDK is for developers, JRE is for running, JVM executes bytecode.
  • Important versions: Java 8 (LTS), Java 11 (LTS), Java 17 (LTS), Java 21 (LTS).
  • Java is different from C/C++ because it has no pointers, automatic memory management, and is platform independent.

🧠 Test Your Knowledge

2 Questions
Progress: 0 / 2