Tutorials Point


  Java Basics Examples
  Java Tutorial
  Java Useful Resources
  Selected Reading

© 2011 TutorialsPoint.COM


  Home     References     Discussion Forums     About TP  

Java Examples - version of JAVA


previous next AddThis Social Bookmark Button


Problem Description:

How to check version of java running on your system?

Solution:

Following example demonstrates how to check version of java installed on your system using version argument with java command.

java -version

Result:

The above code sample will produce the following result.

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)


previous next Printer Friendly



  

Advertisement

Online Image Processing

Indian Baby Names