Understanding Java 7.0 and 7.1 -version Information

Document ID : KB000006722
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

Java 7.0 and 7.1  -version  information can be confusing.  Both will show  java version "1.7.0".  To tell the difference between Java version 7.0 and 7.1 you will need to look at the build level.

Environment:
- Supported z/OS level- CSM 5.1, 6.x
Resolution:

Java version 7.0 will show 'build 2.6' while Java version 7.1 will show 'build 2.7'.  Examples are below:

 

Java 7.0

java version "1.7.0"
Java(TM) SE Runtime Environment (build pxa6470sr9fp40-20160422_01(SR9 FP40))
IBM J9 VM (build 2.6, JRE 1.7.0 Linux amd64-64 Compressed References 20160406_298397 (JIT enabled, AOT enabled)

 

Java 7.1

java version "1.7.0"
Java(TM) SE Runtime Environment (build pxa6470_27sr3fp40-20160422_01(SR3 FP40))
IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 Compressed References 20160406_298393 (JIT enabled, AOT enabled)

Additional Information:

Compatible versions of Java for CSM can be found on TEC1861493.