how to find the current version java sdk code example Example: check jdk version windows 10 cmd java -version