Checking Current Java Version

It is not uncommon to have many different JREs running on the same machine at the same time. To check the current default version:

  1. Open a command prompt.

  2. Type java –version.

You will see output similar to this:

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b91)
Java HotSpot(TM) Client VM (build 1.5.0-b91, mixed mode)

Get Java Garage now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.