The convention on naming and versions of Java is unfortunately complicated. In fact, the java version has its own Wikipedia page .
Versioning
Java began its life in 1.0 and 1.1 in the mid-90s. When Java 1.2 was released, it was branded as "Java 2". We had to live with the next few releases with this dual numbering scheme until Java 1.5, when "1." the prefix was reset and 1.5 officially became 5.0.
Java 8, called "Java 1.8", is an artifact of this story.
Java editions
Java SE, Java Platform, the standard version (also known as J2SE before Java 5) is the Java platform used for java-desktop and server programs. Java SE is what most people have in mind when talking about Java.
Other "editions" are Java ME (Micro Edition), which is a shortened version of Java for embedded devices (including telephones) and Java EE (Enterprise Edition), which provides additional libraries on top of Java SE, including Java Servlets , EJB , JMS and others used in Java application servers .
JRE vs JDK
Just a JRE can run Java programs; JDK is used to create Java programs.
see also
krock
source share