Easy Tutorial
❮ Java String Compareto Java8 Datetime Api ❯

Java Example - How to Check the Current Running Java Version?

Java Examples

We can use the -version parameter to check the current running version of Java with the following command:

java -version

The output of the above code example is:

java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)

Java Examples

❮ Java String Compareto Java8 Datetime Api ❯