how to find if java version installed windows 10 code example Example: check java version in cmd java -version