Search results
Jan 8, 2024 · You can check your Java version graphically by searching for "About Java" or "Configure Java" in the Start menu and clicking the top result. If you want to check your Java version in a command-line interface, open Command Prompt or PowerShell, then enter "java -version" in the console.
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. For example: java -version java version "1.7.0_55" Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Oct 29, 2020 · 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) “1.8.0_144” is the version of the java.
Oct 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.
- Open Start ('Start' icon). Click the Windows logo in the bottom-left of the taskbar or press the "⊞ Win" key to open the Start menu.
- Type "command prompt" into Start. As you start typing, search results will automatically start to filter and appear in the Start menu.
- Click ('Cmd1' icon) Command Prompt. It's the black square icon with a small white "C:\" and should be the first result at the top of the Start menu.
- Click "Yes". This will allow Command Prompt to access the necessary files to check the Java version.
Dec 2, 2013 · After installing Java, set the path in environmental variables and then open the command prompt and type java -version. If installed properly, it'll list the java version, jre version, etc. You can additionally check by trying the javac command too.
Jun 12, 2012 · update-java-alternatives -l shows you all the Java versions you have installed. java -version shows you the Java version you are using. java -showversion shows you the Java version you are using and help.