how to check if you have jdk installed windows code example Example: check jdk version windows 10 cmd java -version