Over the last 15 years there have been numerous releases of Java. Let’s see all the major releases and its details
- JDK 1.0
Released on January 23, 1996.
Code name Oak.
This version includes 8 packages with 212 classes.
- JDK 1. 1
Released on February 19, 1997.
This version includes 23 packages with 504 classes.
- J2SE 1.2
Released on December 8, 1998.
This version includes 59 packages with 1520 classes.
- J2SE 1.3
Released on May 8, 2000
This version includes 76 packages with 1842 classes.
- J2SE 1.4
Released on February 6, 2002
This version includes 135 packages with 2991 classes.
- J2SE 5.0
Released on September 30, 2004.
This version includes 166 packages, over 3279 classes, Click here to see the new features added in this version.
- Java SE 6
Released on December 11, 2006.
This version includes 203 packages with 3793 classes.
- Java SE 7
Released on July 28, 2011.
This version includes 209 packages with 4024 classes , Click here to see the new features added in this version.
How to check Java Version
You can check the installed version of java by using the command line tool as below
“java -version” in a command-line (Windows)
“java -version” in a Terminal (Unix/Linux/Mac).
Below is the example of checking java version in windows environment
java version “1.6.0_21”
Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode, sharing)