you might need to add path in environment variables which you can find in Control Panel open the Jdk where you installed and add until /bin in the path in environment variables.

Add until /bin in path variable in System Variables which is residing in Environment Variables.

Then do java -version which might show up.

If still problem persists, try restarting your pc and see.

Answer from ganga on Stack Overflow
🌐
Oracle
java.com › en › download › help › version_manual.html
How to find Java version in Windows or Mac - Manual method
You can determine which version of the JDK is the default by typing java -version in a Terminal window. If the installed version is 7u55, you will see a string that includes the text 1.7.0_55.
🌐
Wikihow
wikihow.com › computers and electronics › software › programming › java › how to check your java version in the windows command line
How to Check Your Java Version in the Windows Command Line
February 24, 2025 - No matter which version of Windows you're using, you can type "java -version" into the command prompt (cmd) to see the version number of your Java installation. This wikiHow article will teach you how to use the command prompt to find out which ...
🌐
How-To Geek
howtogeek.com › home › windows › how to check your java version on windows 11
How to Check Your Java Version on Windows 11
October 19, 2022 - There are plenty of ways to determine what version of Java you have installed, whether you're using Windows 11 or Windows 10. For example, you can usually enter "About Java" in the Start Menu search and click the result to get a Java version.
🌐
Scaler
scaler.com › home › topics › how to check java version?
How to Check Java Version? - Scaler Topics
March 21, 2024 - Open System Preference and click on the java icon. You will get a small window with the name Java Control Panel.
🌐
UMA Technology
umatechnology.org › home › how to check java version in cmd windows 11: a step-by-step guide
How to Check Java Version in CMD Windows 11: A Step-by-Step Guide - UMA Technology
July 4, 2025 - To check your Java version, you’ll use the Command Prompt in Windows 11. Here’s how to open it: Click on the Start menu (Windows icon) or press the Windows key. Type cmd or Command Prompt in the search bar.
Find elsewhere
🌐
Solve Your Tech
solveyourtech.com › home › programs › how to check java version in cmd windows 11: a step-by-step guide
How to Check Java Version in CMD Windows 11: A Step-by-Step Guide
September 11, 2024 - This will open a new Command Prompt window, which you’ll be using to check your Java version. In the Command Prompt window, type java -version and hit Enter. This command asks your system to display the installed Java version.
🌐
H2S Media
how2shout.com › home › tutorial › how to check jdk version in cmd – windows 10 or 11
How to Check JDK Version in CMD - Windows 10 or 11 - H2S Media
February 3, 2024 - Using the Java Command1. Open CMD or PowerShell:2. Identify Java version on Windows 11 or 103.
🌐
TechBloat
techbloat.com › home › how to check java version in cmd windows 11: a step-by-step guide
How to Check Java Version in CMD Windows 11: A Step-by-Step Guide - TechBloat
July 3, 2025 - Java is installed on your Windows 11 system. If not, installing Java is necessary. You have administrator privileges (sometimes required for certain operations). You are familiar with basic Windows navigation and command-line operations. The first step is to access the Command Prompt, which is the command-line interface where you will execute commands to check Java version. Click on the Start Menu (Windows icon) or press the Windows key. Type "Command Prompt" or "cmd" into the search bar.
🌐
FICO
fico.com › fico-xpress-optimization › docs › dms2021-02 › insight_install › GUID-6047F973-9AB8-44FB-837F-78B191D38F77.html
Checking Java Version
Xpress Insight supports any OpenJDK. FICO recommends Amazon Coretto 11. For more, see the Amazon Corretto overview. ... Open a Command Prompt. Type the following command: java -version.
🌐
GeeksforGeeks
geeksforgeeks.org › java › different-ways-to-check-java-version-in-windows
Different Ways To Check Java Version In Windows - GeeksforGeeks
July 23, 2025 - java -version // CMD/Terminal command to check java version on the machine · In the case of Windows OS: It is showing java is installed on the machine with version 1.8.0 (See carefully at line number 5)
🌐
PhoenixNAP
phoenixnap.com › home › kb › sysadmin › how to check java version on windows
How to Check Java Version on Windows | Knowledge Base by phoenixNAP
December 22, 2025 - Java is a popular programming language. This tutorial explains two methods to check Java version on Windows.
🌐
The Economic Times
economictimes.indiatimes.com › business news › news › international › us news
check java version: Which version of Java are you using in Windows 10, 11? Here’s how to check it - The Economic Times
July 2, 2023 - So, without much ado, here’s how to check the version of Java running on your computer. First, launch Command Prompt by either searching for it on the Start menu or simply launch it by Start+R and entering “cmd” and hit enter.
🌐
Prospera Soft
prosperasoft.com › blog › full-stack › backend › java › checking-java-version-in-cmd-a-step-by-step-guide
Check Java Version in CMD: Easy Guide
To check your Java version using the command line, you'll first need to open the Command Prompt. On Windows, you can do this by pressing 'Windows + R', typing 'cmd', and then hitting enter.
🌐
Itview
itview.in › blog › java › how-to-check-java-version-in-cmd-a-quick-and-easy-guide
How to Check Java Version in CMD: A Quick and Easy Guide
January 23, 2025 - Many courses require students to ... need to open the Command Prompt (CMD) on your computer: For Windows: Press Windows + R, type cmd, and hit Enter....
🌐
Hash It Out
hash-it-out.hashnode.dev › how-to-check-java-version-in-cmd-a-simple-guide
How to Check Java Version in CMD: Simple Steps for Windows Users
October 9, 2024 - Let’s go through the steps to check which version of Java is installed on your Windows computer. ... Press the Windows + R keys on your keyboard. This will open the "Run" window. 2. Type cmd in the box and press Enter.
🌐
HubSpot
blog.hubspot.com › home › website › how to check your java version in windows & mac
How to Check Your Java Version in Windows & Mac
February 27, 2025 - You can also check your Java version in Windows using the command line. First, click on the magnifying glass and type “cmd”, then click on the Command Line app icon that appears.