How can you tell the difference between Java Release 7.0 and 7.1 -version Information?
search cancel

How can you tell the difference between Java Release 7.0 and 7.1 -version Information?

book

Article ID: 11697

calendar_today

Updated On:

Products

Mainframe Software Manager (Chorus Software Manager)

Issue/Introduction



How can you tell the difference between Java Release 7.0 and 7.1  -version  information when both show "JRE 1.7.0"?

Environment

Release:
Component: MSM

Resolution

Java release 7.0 and 7.1  -version  information can be confusing.  Both will show "JRE 1.7.0". To tell the difference between Java release 7.0 and 7.1 you will need to look at the build level.  Java release 7.0 will show build 2.6 while Java release 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