check jdk version windows 10 cmd code example Example: check jdk version windows 10 cmd java -version