Oracle's products evolve as the Java SE platform evolves. Each Oracle product has a version number to indicate which version of the Java SE platform it implements. Version numbers are commonly used for marketing and documentation purposes.
Oracle has two products that implement the Java SE 7 platform: JDK 7 (Java™ SE Development Kit 7) and JRE 7 (Java™ SE Runtime Environment 7).
Platform and Product Versions
|Platform name||Java™ Platform Standard Edition 7||Java™ SE 7|
|Product that implements the platform||Java™ SE Development Kit 7||JDK™ 7|
|Product that implements the platform||Java™ SE Runtime Environment 7||JRE™ 7|
Some of Oracle's products expose a version string which is separate from, but related to, the version number. This version string is usually only seen by programs which query the runtime environment, or by users who invoke command line tools. Version strings have the form
x is the product version number.
In JDK 7 and JRE 7, the version strings are
1.7.0. Here are some examples where the version string is used:
java -version(among other info, returns
java version "1.7.0")
java full version "1.7.0-bxx")
javac -source 1.7(is an alias for
javac -source 7)
@since 1.7tag values
Oracle periodically makes updates available and, when an update occurs, the version string will also include the update version number. So, JDK 7 update 4, or JDK 7u4, will have the version string "1.7.0_4". When invoking the
java -fullversion command, the result also includes the build number, a level of detail not needed by most users.
When the version string for the product is reported as "java version 1.7.0_3", the product will be called JDK 7u3, JDK 7 update 3 or, when the update version is not important, JDK 7.