Back to Study Material Java

History of Java

Java's history begins in 1991 with a research project at Sun Microsystems called the Green Project. James Gosling, Mike Sheridan, and Patrick Naughton were...

History of Java

The Origins and Evolution of Java

Java's history begins in 1991 with a research project at Sun Microsystems called the Green Project. James Gosling, Mike Sheridan, and Patrick Naughton were assigned to develop software for consumer electronics such as interactive televisions and set-top boxes. The team needed a language that was small, portable, and did not depend on any single microprocessor. Gosling initially developed a language called Oak, named after a tree outside his office window.

The consumer electronics market did not adopt Oak as the team had hoped, but the rise of the World Wide Web in the early 1990s presented a new opportunity. Web browsers needed a way to deliver interactive content across different operating systems and hardware. Oak's platform-independent design was a perfect fit for this problem. Sun renamed the language Java in 1995, and its first public release accompanied the HotJava browser, which could run small Java programs called applets embedded in web pages.

Sun released Java 1.0 officially in January 1996. Version 1.1 followed in 1997 and introduced inner classes, reflection, and JDBC for database connectivity. Java 2, released in 1998 as version 1.2, was a major expansion that introduced the Collections Framework, the Swing GUI toolkit, and split the platform into three editions: J2SE for desktop, J2EE for enterprise, and J2ME for mobile devices.

Java 5 (2004) brought the most significant language changes up to that point, including generics, enhanced for-loops, autoboxing, enumerations, annotations, and varargs. Java 8 (2014) introduced lambda expressions and the Stream API, fundamentally changing how Java developers write functional-style code. Java 9 (2017) added the module system, and since then Oracle has maintained a six-month release cadence, producing new versions twice a year.

Oracle acquired Sun Microsystems in 2010, taking ownership of Java. OpenJDK, the open-source reference implementation of Java, ensures the platform remains accessible without licensing fees for most use cases.

Interview tip: Interviewers sometimes ask about the difference between Oracle JDK and OpenJDK. OpenJDK is the open-source reference implementation, while Oracle JDK historically included additional proprietary features and had different licensing. Since Java 17, Oracle JDK is free for production use under the Oracle No-Fee Terms and Conditions license.