how to check whether the jdk is installed in windows code example Example: check jdk version windows 10 cmd java -version