How to Check Your Java Version on Windows 11

Configurare noua (How To)

Situatie

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. But that doesn’t always display the version your system will actually try to use if you run a JAR file.

Solutie

Pasi de urmat

The best way to determine which version of Java your PC is using is via the Terminal. It doesn’t matter if you use Command Prompt or PowerShell. Hit Windows+X to open the Power User Menu, then tap “i” to open up Terminal. Alternatively, you can click the Start button and enter “Terminal” in the search bar.

Hit Windows+X to open the Power User Menu, then tap i to open the Windows Terminal.

Enter java -version into the Terminal and hit Enter.

The output of the command "java -version." Java Runtime Environment (Build 17.0.4.1).

Your Java version will be displayed in the Terminal directly under your command. In the screenshot above, our example PC has Java version 17.0.4.1 installed.

Tip solutie

Permanent

Voteaza

(8 din 21 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?