how to know the java version in cmd code example Example: how to see java version in windows 10 java -version