how to check java jdk installed or not in windows in cmd code example Example: check jdk version windows 10 cmd java -version