

Hit Windows+X to open the Power User Menu, then tap “i” to open up Terminal. It doesn’t matter if you use Command Prompt or PowerShell. The best way to determine which version of Java your PC is using is via the Terminal. RELATED: 7 Ways to Open Windows Terminal on Windows 11

That isn’t usually a problem - you just need to be aware of which version you’re actually using. The discrepancy occurs because multiple versions of Java are installed simultaneously. But that doesn’t always display the version your system will actually try to use if you run a JAR file. For example, you can usually enter “About Java” in the Start Menu search and click the result to get a Java version. There are plenty of ways to determine what version of Java you have installed, whether you’re using Windows 11 or Windows 10. Check Your Java Version with the Terminal
