How Do You Find the Version of Java that is Installed on Your Windows Server?

Problem scenario
You want determine what version of Java is installed (if any). What do you do?

Solution
Open PowerShell and run this command:
(Get-WmiObject Win32_Product | Where {$_.Name -match "Java"}).Version

Alternative way without PowerShell:
1. Go to Control Panel -> Uninstall a Program
2. See if Java is installed

Leave a comment

Your email address will not be published. Required fields are marked *