How to find java update version?

I have jre installed in my windows.

When I use java -version command

I get the output -

java version "1.7.0" Java(TM) SE Runtime Environment (build 1.7.0-b147) Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode) 

I see only the main version 1.7. How do I know which version of the JRE is being updated?

+5
source share
4 answers

Looking at this page from the release note: http://www.oracle.com/technetwork/java/javase/jdk7-naming-418744.html

It seems you have the first version of java 7.

Oracle periodically makes updates available, and when an update occurs, the version line will also contain the version number of the update. Thus, updating the JDK 7 4 or JDK 7u4 will contain the version string "1.7.0_4".

+2
source

Calling java -version will give you the installed version, including the update number (here: 51):

 java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode) 

It looks like you have the basic version installed, so there is no update number:

 java version "1.7.0" Java(TM) SE Runtime Environment (build 1.7.0-b147) Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode) 
+9
source

I assume the build gives you the update you have.

You can also try this -

java -fullversion

Translation of version number: 1.6.0_34 in English, Java 6 Update 34

+3
source

Usually a jre folder is called something like 1.VersionNumber.0_UpdateNumber

For 64 bits, you can find this folder under C:\Program Files (x86)\Java

If the version number looks something like this: 1.VersionNumber.0 , it means that you have the first version of this version of Java.

0
source

All Articles