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
- Open Control Panel.
- Click on Java to open Java Control Panel.
- Under General tab, click on About button.
The About Java dialog window will appear to show the Java version information:
Method 2: Windows Programs
- Open Control Panel.
- Click on Programs and Features.
- The installed Java version is listed in program list.
The installed Java version will look something like:
Method 3: Java Command
- Open Command Prompt in Windows.
- Enter Java command
java -version
in Command Prompt window.
The output will look something like:
Or
1. Open Command Prompt in Windows.
2. Enter Java command java -fullversion
in Command Prompt window.
It will produce output like:
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.