How to Check Your Java Version on Windows

Java Settings

This tutorial is written for Java beginner. If you want to know what is the Java version that you have installed on your Windows operating system, here are several methods you can use to check it.

Method 1: Java Control Panel

  1. Open Control Panel.
  2. Click on Java to open Java Control Panel.
  3. Under General tab, click on About button.

The About Java dialog window will appear to show the Java version information:

Java Version in the Java Control Panel

Method 2: Windows Programs

  1. Open Control Panel.
  2. Click on Programs and Features.
  3. The installed Java version is listed in program list.

The installed Java version will look something like:

Java Version in Windows Programs

Method 3: Java Command

  1. Open Command Prompt in Windows.
  2. Enter Java command java -version in Command Prompt window.

The output will look something like:

Java Command java -version

Or

1. Open Command Prompt in Windows.

2. Enter Java command java -fullversion in Command Prompt window.

It will produce output like:

Java Command java -fullversion

Tip: Use Java command java -fullversion, the output will includes the build number but this information is not needed by most users.

Note: If it produce the output like 'java' is not recognized as an internal or external command, you need to configure the JAVA_HOME and PATH environment variables on your Windows. Or you can enter the full path of the command like "C:\Program Files\Java\jdk1.7.0_51\bin\java" -fullversion.

Understand the Version Number

If the Java version string show as 1.7.0_51, it mean Java 7 Update 51.

Other Resources