how find java version in windows in cmd code example Example: how to check which java version i have java -version