History of Java – Java is a popular programming language that was first released in 1995 by Sun Microsystems. The language was designed to be portable, meaning that code written in Java could run on any platform that supported the Java Virtual Machine (JVM).
- The development of Java began in the early 1990s, when Sun Microsystems recognized a need for a programming language that could be used to develop software for a wide variety of devices, including computers, mobile phones, and other consumer electronics. The company initially began working on a language called Oak, but later renamed it to Java.
- The principles for creating Java programming were Simple, Robust, Platform independent, Secured, High Performance, Multithreaded, Architecture Neutral, Object-Oriented, Interpreted, and Dynamic.
- Gosling were to implement a virtual machine and a language that had a familiar C-like notation but with greater uniformity and simplicity than C/C++.
- Sun Microsystems released the first public implementation as Java 1.0 compiler was re-written in Java by Arthur van Hoff to comply strictly with the Java 1.0 language specification.
- Java quickly became popular due to its portability and ease of use. In 1996, Sun Microsystems released the first version of the Java Development Kit (JDK), which included the Java compiler, libraries, and other tools needed to develop Java applications.
- In 1998, Sun Microsystems released Java 2, which introduced a number of new features, including the Swing user interface toolkit, the Java Naming and Directory Interface (JNDI), and support for the Java Servlet API. Java 2 also introduced the concept of platform editions, with the Standard Edition (SE) targeting desktop and server applications, and the Enterprise Edition (EE) targeting web applications.
- In 2006, Sun Microsystems released Java SE 6, which included a number of new features, including support for scripting languages, improvements to the garbage collector, and a new version of the Java Web Start technology. Java SE 7 was released in 2011, with new features such as improved file system support and support for dynamic languages.
- In 2010, Oracle Corporation acquired Sun Microsystems, and has since continued to develop and maintain Java. Java continues to be widely used for a variety of applications, including desktop and server software, web applications, and mobile applications. The latest version of Java as of the knowledge cutoff date (September 2021) is Java SE 17.
- The Java Development Kit (JDK) is a software development kit used by developers to create Java applications. The JDK includes a set of tools and libraries that allow developers to write, compile, and run Java code.
- The JDK is available for multiple platforms including Windows, macOS, and Linux. The most recent version of the JDK as of the knowledge cutoff date (September 2021) is JDK 17, which is compatible with Java SE 17.
Some of the components included in the JDK are:
- Java Compiler:- The Java compiler is used to compile Java source code into bytecode, which can be executed by the Java Virtual Machine (JVM).
- Java Virtual Machine (JVM):- The JVM is responsible for executing Java bytecode on a specific platform. The JVM is designed to be platform-independent, which means that Java code can be written once and run on any platform that supports the JVM.
- Java Class Library:- The Java Class Library is a collection of pre-written code that developers can use to build their applications. The Class Library includes a wide range of classes and interfaces that provide functionality for common tasks such as input/output, networking, and user interface design.
- Development Tools:- The JDK includes a number of development tools such as the Java Debugger, JavaDoc, and the JavaFX Scene Builder. These tools are designed to help developers write and debug their code more efficiently.
Also Read: Java Program Structure