How to Check Your Java Version in the Windows Command Line


This wikiHow teaches you how to check what version of java you have installed on your Windows computer using Command Prompt.

Part 1
Using Windows 10

Using Windows 10 on How to Check Your Java Version in the Windows Command Line

1
It's the icon with Windows logo. By default, it's in the bottom-left corner of the taskbar. This opens the Start menu. You can also press the ⊞ Win key to open the Start menu.

Using Windows 10 on How to Check Your Java Version in the Windows Command Line

2
This displays the Command Prompt icon at the top of the Start menu. As you type, a list of programs and search results appears in the Windows Start menu.

Using Windows 10 on How to Check Your Java Version in the Windows Command Line

3
It's the black square icon with a small white "C:\" in the upper-right corner.

Using Windows 10 on How to Check Your Java Version in the Windows Command Line

4
This is the Command Prompt command to check which version of Java you are using. Type it in the Command Prompt window.

Using Windows 10 on How to Check Your Java Version in the Windows Command Line

5
This displays a readout of the current Java version that is installed on your computer in the Command Prompt. Make sure you include a space after "java". If it doesn't display any information or there is an error while running the command, you might not have Java installed on your computer. To download Java, go to in a web browser and click Free Java Download. After you install Java, restart your computer. If you have Java, make sure you have the latest version of Java. To determine if your system is running a 32-bit or 64-bit version, read How to Check If Your PC is Running the 32-bit or 64-bit Version of Windows to determine which version of Windows you are running.

Part 2
Using Windows 8

Using Windows 8 on How to Check Your Java Version in the Windows Command Line

1
It's the icon with the Windows logo. By default, it's in the lower-left corner. Right-clicking this icon displays the System menu above the Start button.

Using Windows 8 on How to Check Your Java Version in the Windows Command Line

2
It's the third option from the bottom of the System menu. This opens the "Run" program.

Using Windows 8 on How to Check Your Java Version in the Windows Command Line

3
exe next to "Open". Use the space next to "Open" in the Run program to type the command to open the Command Prompt.

Using Windows 8 on How to Check Your Java Version in the Windows Command Line

4
It's the first button at the bottom of the "Run" program. This opens the Command Prompt.[1]

Using Windows 8 on How to Check Your Java Version in the Windows Command Line

5
This is the Command Prompt command to check which version of Java you are using. Type it in the Command Prompt window.

Using Windows 8 on How to Check Your Java Version in the Windows Command Line

6
This displays a readout of the current Java version that is installed on your computer in the Command Prompt. Make sure you include a space after "java". If it doesn't display any information or there is an error while running the command, you might not have Java installed on your computer. To download Java, go to in a web browser and click Free Java Download. After you install Java, restart your computer. If you have Java, make sure you have the latest version of Java. To determine if your system is running a 32-bit or 64-bit version, read "How to Check If Your PC is Running the 32-bit or 64-bit Version of Windows" to determine which version of Windows you are running.

Part 3
Using Windows 7, Vista, and XP

Using Windows 7, Vista, and XP on How to Check Your Java Version in the Windows Command Line

1
It's the icon with the Windows logo. By default, it's in the lower-left corner in the taskbar. This displays the Windows Start menu.

Using Windows 7, Vista, and XP on How to Check Your Java Version in the Windows Command Line

2
It's in the Windows Start menu. This displays a list of all programs installed on your computer.

Using Windows 7, Vista, and XP on How to Check Your Java Version in the Windows Command Line

3
This is a sub-folder in "All Programs" list. This displays a list of Windows pre-installed programs.

Using Windows 7, Vista, and XP on How to Check Your Java Version in the Windows Command Line

4
It's in the list of Accessories. This opens the Command Prompt.

Using Windows 7, Vista, and XP on How to Check Your Java Version in the Windows Command Line

5
This is the Command Prompt command to check which version of Java you are using. Type it in the Command Prompt window.

Using Windows 7, Vista, and XP on How to Check Your Java Version in the Windows Command Line

6
This displays a readout of the current Java version that is installed on your computer in the Command Prompt. Make sure you include a space after "java". If it doesn't display any information or there is an error while running the command, you might not have Java installed on your computer. To download Java, go to in a web browser and click Free Java Download. After you install Java, restart your computer. If you have Java, make sure you have the latest version of Java.