What's the difference between Java 5 and Java 1.5
It just highlights the stupid naming scheme used by Java, for a company who have a document on coding conventions to produce such a random naming structure seems odd, firstly you have the it called Java 5 and then Java 1.5 and also it is known by an animal Tiger, why do we need three names.
I could understand the lower numbers (but not both) when they were releasing dot releases but I think I read some where that they were no longer doing that. Here are the names of future releases which I got from Sun's site.
|J2SE 5.0 (1.5.0)||Tiger||Sept 29, 2004|
|J2SE 6.0 (1.6.0)||Mustang||Not yet released|
|J2SE 7.0 (1.7.0)||Dolphin||Not yet released|
The words, complete shambles spring to mind, why bother having two release numbering systems, does anyone else do this. I also forget they also changed the code for the development kit as well to JDK from Java 2 SDK. I heard a good joke on the Java Posse podcast they wondered if someone would one day make a new JVM which did Generics in a different way but what would they call it one of the Java Posse members asked. Java 2 was his response.
I found this document on sun's website it does have an interesting part where you can see where the release number is used.
The upcoming feature release of J2SE is version 5.0. We have changed the version of this release from 1.5.0 to 5.0 to better reflect the level of maturity, stability, scalability and security built into J2SE. (This release is also known as "Tiger".)
Platform and Product Names Use Version 5.0
Version 5.0 is used in the platform and product names -- the leading "1." was dropped. Where you might have expected to see 1.5.0, it is now 5.0 (and where it was 1.5, it is now 5). The names are now:
|Platform name||JavaTM 2 Platform Standard Edition 5.0||J2SETM 5.0|
|Products delivered |
under the platform
|J2SETM Development Kit 5.0||JDKTM 5.0|
|J2SETM Runtime Environment 5.0||JRE 5.0|
Due to significant popularity within the Java developer community, the development kit has reverted back to the name "JDK" from "Java 2 SDK" (or "J2SDK"), and the runtime environment has reverted back to "JRE" from "J2RE". Notice that "JDK" stands for "J2SE Development Kit". The name "Java Development Kit" has not been used since 1.1, prior to the advent of J2EE and J2ME.
As before, the "2" in Java 2 Platform Standard Edition indicates the 2nd generation Java platform, introduced with J2SE 1.2. This generation number is also used with J2EE and J2ME.
Where Is Version 1.5.0 Still Used?
J2SE also keeps the version number 1.5.0 (or 1.5) in some under-the-cover places that are visible only to developers, where the version number is parsed by programs. In these cases, 1.5.0 refers to exactly the same platform and products numbered 5.0. Version numbers 1.5.0 and 1.5 are used at:
- java -version (among other info, returns java version "1.5.0")
- java -fullversion (returns java full version "1.5.0-b64")
- javac -source 1.5 (javac -source 5 also works)
- java.version system property
- java.vm.version system property
- @since 1.5 tag values
- jdk1.5.0 installation directory
- jre1.5.0 installation directory
- http://java.sun.com/j2se/1.5.0 website (http://java.sun.com/j2se/5.0 also works)